Fixing annotations key.

This commit is contained in:
Jan Mußler 2020-10-21 17:44:21 +02:00
parent f03409da06
commit 39641e81ea
1 changed files with 2 additions and 2 deletions

View File

@ -103,7 +103,7 @@ class K8s:
for sset in ssets:
for key, value in annotations.items():
if key not in sset.metadata.annotations or sset.metadata.annotations[key] != value:
print("Expected key {} not found in annotations {}".format(key, sset.metadata.annotation))
print("Expected key {} not found in annotations {}".format(key, sset.metadata.annotations))
return False
return True