Skip to content

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

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

fix(Server Update Management): print valid JSON/YAML output for list cmds#1380
rubenhoenle merged 2 commits intostackitcloud:mainfrom
j1n-o9r:fix/STACKITCLI-387-server-update-json-list-output

Conversation

@j1n-o9r
Copy link
Copy Markdown
Contributor

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

Description

relates to STACKITCLI-387 / #893

Testing Instructions

Create a new server with name yyy and id zzz

  • stackit server os-update list --server-id zzz -> Expected: No os-updates found for server yyy

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

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

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

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

  • stackit server os-update 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:38
@j1n-o9r j1n-o9r requested a review from a team as a code owner April 27, 2026 09:38
@rubenhoenle rubenhoenle enabled auto-merge (squash) April 27, 2026 11:44
@rubenhoenle rubenhoenle force-pushed the fix/STACKITCLI-387-server-update-json-list-output branch from a3ce62d to a89b2ad Compare April 27, 2026 11:44
@rubenhoenle rubenhoenle merged commit 1dc73b4 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