Skip to content

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

Draft
j1n-o9r wants to merge 2 commits intostackitcloud:mainfrom
j1n-o9r:fix/STACKITCLI-387-server-update-json-list-output
Draft

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

Conversation

@j1n-o9r
Copy link
Copy Markdown

@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)

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.

1 participant