Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli: stackit volume delete prints empty name #574

Open
j-b-e opened this issue Jan 24, 2025 · 1 comment
Open

cli: stackit volume delete prints empty name #574

j-b-e opened this issue Jan 24, 2025 · 1 comment

Comments

@j-b-e
Copy link

j-b-e commented Jan 24, 2025

Hi,

deleteing a Volume which has no name, (e.g. an automatically created boot volume) prints an empty string on cli.

$ stackit beta volume list
 ID                                   │ NAME          │ STATUS    │ SERVER                               │ AVAILABILITY ZONE │ SIZE (GB) 
──────────────────────────────────────┼───────────────┼───────────┼──────────────────────────────────────┼───────────────────┼───────────
 8f197065-6c3b-4029-be47-6df3358177f7 │               │ AVAILABLE │                                      │ eu01-m            │        20
$ stackit beta volume delete 8f197065-6c3b-4029-be47-6df3358177f7 -y
Deleting volume ✓
Deleted volume ""

I suggest to fallback to the Id.

$ stackit --version
STACKIT CLI (beta)
Version: 0.21.2 (2025-01-17)
@bahkauv70
Copy link
Contributor

This is an already known issue in the CLI, which will be addressed soon. Please use the JSON output as a workaround for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants