This commit is contained in:
Quentin 2022-09-28 20:26:01 +02:00
parent 2b685b90be
commit 605968abb0
Signed by: quentin
GPG key ID: E9602264D639FF68
4 changed files with 4 additions and 4 deletions

View file

@ -42,7 +42,7 @@ print(f"running garage {status.garage_version}, node_id {status.node}")
# Change layout of this node # Change layout of this node
current = layout.get_layout() current = layout.get_layout()
layout.add_layout({ layout.add_layout({
f"{status.node}": NodeClusterInfo( status.node: NodeClusterInfo(
zone = "dc1", zone = "dc1",
capacity = 1, capacity = 1,
tags = [ "dev" ], tags = [ "dev" ],

View file

@ -30,7 +30,7 @@ with garage_admin_sdk.ApiClient(configuration) as api_client:
print("it seems to be a fresh node, continuing the configuration") print("it seems to be a fresh node, continuing the configuration")
layout.add_layout({ layout.add_layout({
f"{status.node}": NodeClusterInfo( status.node: NodeClusterInfo(
zone = "dc1", zone = "dc1",
capacity = 1, capacity = 1,
tags = [ "dev" ], tags = [ "dev" ],

View file

@ -24,7 +24,7 @@ print(f"running garage {status.garage_version}, node_id {status.node}")
# Change layout of this node # Change layout of this node
current = layout.get_layout() current = layout.get_layout()
layout.add_layout({ layout.add_layout({
f"{status.node}": NodeClusterInfo( status.node: NodeClusterInfo(
zone = "dc1", zone = "dc1",
capacity = 1, capacity = 1,
tags = [ "dev" ], tags = [ "dev" ],

2
garage

@ -1 +1 @@
Subproject commit 7b257b21c2623fcaa1cbd0b6f5b1a60c5b789a2c Subproject commit 5a7675cf7cda7c92e016a183cdc921ef97554759