Skip to content

Commit 943e5b0

Browse files
author
Vitaliy Zakaznikov
committed
Adding id field to volumes list command.
1 parent 4ea2dcb commit 943e5b0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

testflows/github/hetzner/runners/volumes.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,12 @@ def list(args, config: Config):
7676
f"{'state,':8}",
7777
"name,",
7878
"actual name,",
79-
f"size in GB,",
79+
"id,",
80+
f"size,",
8081
"location,",
8182
"server,",
8283
"created,",
83-
"format,",
84+
"format",
8485
file=sys.stdout,
8586
)
8687

@@ -93,6 +94,7 @@ def list(args, config: Config):
9394
f"{volume.labels.get('github-hetzner-runner-volume', 'none') + ',':8}",
9495
get_volume_name(volume.name) + ",",
9596
volume.name + ",",
97+
f"{volume.id},",
9698
f"{volume.size}GB,",
9799
volume.location.name + ",",
98100
volume_server + ",",

0 commit comments

Comments
 (0)