Expand the visibility enum to include shared and community

Change-Id: I25d2e9c369b5802d6b7d7070fc1ae02c0e9e117f
This commit is contained in:
Chi Lo 2020-10-02 08:07:20 -07:00
parent e123abc10e
commit 154583a392

View File

@ -95,7 +95,7 @@ _image = {
"tags": _tags, "tags": _tags,
"visibility": { "visibility": {
"type": "string", "type": "string",
"enum": ["public", "private"] "enum": ["public", "private", "shared", "community"]
}, },
"min-disk": { "min-disk": {
"type": "number" "type": "number"
@ -185,7 +185,8 @@ list_images = {
"name": {"type": "string"}, "name": {"type": "string"},
"visibiity": { "visibiity": {
"type": "string", "type": "string",
"enum": ["public", "private"] "enum": ["public", "private", "shared",
"community"]
}, },
"id": {"type": "string"} "id": {"type": "string"}
}, },