Update node_labels.py

This commit is contained in:
Priyanka Saggu 2021-04-28 22:09:40 +05:30 committed by GitHub
parent b5d41cb3eb
commit 60e8c895a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,10 +36,10 @@ def main():
"baz": None}
}
}
# Listing the cluster nodes
node_list = api_instance.list_node()
print("%s\t\t%s" % ("NAME", "LABELS"))
# Patching the node labels
for node in node_list.items: