Skip to content

Commit 2110a60

Browse files
authored
fix: only set supernode if its true (#796)
1 parent 9f1b6e9 commit 2110a60

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/shared_utils/shared_utils.star

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,11 @@ def label_maker(client, client_type, image, connected_client, extra_labels, supe
8686
.split("@")[0], # drop the sha256 part of the image from the label
8787
"ethereum-package.sha256": sha256,
8888
"ethereum-package.connected-client": connected_client,
89-
"ethereum-package.supernode": str(supernode),
9089
}
9190

91+
if supernode:
92+
labels["ethereum-package.supernode"] = str(supernode)
93+
9294
# Add extra_labels to the labels dictionary
9395
labels.update(extra_labels)
9496

0 commit comments

Comments
 (0)