Skip to content

Commit

Permalink
Fix port description type (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored Jan 19, 2021
1 parent 2c1db17 commit d2ddc79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
},
"ports": {
"additionalProperties": {
"type": "integer"
"type": "string"
},
"type": "object"
},
Expand Down
8 changes: 1 addition & 7 deletions src/config.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,13 +177,7 @@ export interface Config {
[key: string]: number;
};

ports?: {
/**
* @min 1
* @max 65535
*/
[key: string]: number;
};
ports?: { [key: string]: string; };

privileged?: "DAC_READ_SEARCH" | "NET_ADMIN" | "SYS_ADMIN" | "SYS_MODULE" | "SYS_NICE" | "SYS_PTRACE" | "SYS_RAWIO" | "SYS_RESOURCE" | "SYS_TIME";

Expand Down

0 comments on commit d2ddc79

Please sign in to comment.