Skip to content

Commit 26049fe

Browse files
committed
api: Allow for an empty string for Isolation in Swagger specs This adds an empty string as a valid option for the Isolation field when inspecting a container. On non windows systems, this is always empty, so no error should be returned. Fixes #47452
Signed-off-by: Daniel Guns <[email protected]>
1 parent aafdd33 commit 26049fe

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

api/swagger.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1195,6 +1195,7 @@ definitions:
11951195
- "default"
11961196
- "process"
11971197
- "hyperv"
1198+
- ""
11981199
MaskedPaths:
11991200
type: "array"
12001201
description: |
@@ -4185,6 +4186,7 @@ definitions:
41854186
- "default"
41864187
- "process"
41874188
- "hyperv"
4189+
- ""
41884190
Init:
41894191
description: |
41904192
Run an init inside the container that forwards signals and reaps
@@ -5755,6 +5757,7 @@ definitions:
57555757
- "default"
57565758
- "hyperv"
57575759
- "process"
5760+
- ""
57585761
InitBinary:
57595762
description: |
57605763
Name and, optional, path of the `docker-init` binary.

0 commit comments

Comments
 (0)