Skip to content

fix(Server Backup Management): print valid JSON/YAML output for list cmds#1379

Merged
rubenhoenle merged 2 commits intostackitcloud:mainfrom
j1n-o9r:fix/STACKITCLI-386-server-backup-json-list-output
Apr 27, 2026
Merged

fix(Server Backup Management): print valid JSON/YAML output for list cmds#1379
rubenhoenle merged 2 commits intostackitcloud:mainfrom
j1n-o9r:fix/STACKITCLI-386-server-backup-json-list-output

Conversation

@j1n-o9r
Copy link
Copy Markdown
Contributor

@j1n-o9r j1n-o9r commented Apr 22, 2026

Description

relates to STACKITCLI-386 / #893

Testing Instructions

Create a new server with name yyy and id zzz

  • stackit server backup list --server-id zzz -> Expected: No backups found for server yyy

  • stackit server backup list --server-id zzz --output-format json -> Should output valid JSON

  • stackit server backup list --server-id zzz --output-format yaml -> Should output valid YAML

  • stackit server backup schedule list --server-id zzz -> Expected: No backup schedules found for server yyy

  • stackit server backup schedule list --server-id zzz --output-format json -> Should output valid JSON

  • stackit server backup schedule list --server-id zzz --output-format yaml -> Should output valid YAML

Checklist

  • Issue was linked above
  • Code format was applied: make fmt
  • Examples were added / adjusted (see e.g. here)
  • Docs are up-to-date: make generate-docs (will be checked by CI)
  • Unit tests got implemented or updated
  • Unit tests are passing: make test (will be checked by CI)
  • No linter issues: make lint (will be checked by CI)

@j1n-o9r j1n-o9r marked this pull request as ready for review April 27, 2026 09:36
@j1n-o9r j1n-o9r requested a review from a team as a code owner April 27, 2026 09:36
@rubenhoenle rubenhoenle enabled auto-merge (squash) April 27, 2026 10:32
@rubenhoenle rubenhoenle force-pushed the fix/STACKITCLI-386-server-backup-json-list-output branch from d8c4875 to 7bf4df1 Compare April 27, 2026 10:32
@rubenhoenle rubenhoenle merged commit 6d3be8e into stackitcloud:main Apr 27, 2026
3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants