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,
"visibility": {
"type": "string",
"enum": ["public", "private"]
"enum": ["public", "private", "shared", "community"]
},
"min-disk": {
"type": "number"
@ -185,7 +185,8 @@ list_images = {
"name": {"type": "string"},
"visibiity": {
"type": "string",
"enum": ["public", "private"]
"enum": ["public", "private", "shared",
"community"]
},
"id": {"type": "string"}
},