a
This commit is contained in:
parent
aaf608422a
commit
ea3a4145f5
1 changed files with 1 additions and 0 deletions
1
main.py
1
main.py
|
@ -16,6 +16,7 @@ if WITHOUT_CEPH and not os.path.isdir("/var/image"):
|
|||
|
||||
# We want to get images entries that requests images to be created
|
||||
images = client.get_prefix(IMAGE_PREFIX, value_in_json=True)
|
||||
print(images)
|
||||
images_to_be_created = filter(lambda im: im.value["status"] == "TO_BE_CREATED", images)
|
||||
|
||||
for image in images_to_be_created:
|
||||
|
|
Loading…
Add table
Reference in a new issue