Commit 2110a608 authored by Barnabas Busa's avatar Barnabas Busa Committed by GitHub

fix: only set supernode if its true (#796)

parent 9f1b6e95
......@@ -86,9 +86,11 @@ def label_maker(client, client_type, image, connected_client, extra_labels, supe
.split("@")[0], # drop the sha256 part of the image from the label
"ethereum-package.sha256": sha256,
"ethereum-package.connected-client": connected_client,
"ethereum-package.supernode": str(supernode),
}
if supernode:
labels["ethereum-package.supernode"] = str(supernode)
# Add extra_labels to the labels dictionary
labels.update(extra_labels)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment