a
This commit is contained in:
parent
75f3b82ed7
commit
bad86a7936
1 changed files with 3 additions and 3 deletions
6
main.py
6
main.py
|
|
@ -17,9 +17,9 @@ logging.basicConfig(
|
|||
)
|
||||
|
||||
# TODO: Remove timeout, use certificate authentication
|
||||
etcd_client = Etcd3Wrapper(host=config("ETCD_URL"), user="root",
|
||||
password=config("ETCD_PASSWORD"),
|
||||
timeout=2629746)
|
||||
client = Etcd3Wrapper(host=config("ETCD_URL"), user="root",
|
||||
password=config("ETCD_PASSWORD"),
|
||||
timeout=2629746)
|
||||
images = list(client.get_prefix("/v1/image/", value_in_json=True))
|
||||
images_to_be_created = list(filter(lambda e: e.value["status"] == "TO_BE_CREATED", images))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue