-
Notifications
You must be signed in to change notification settings - Fork 39
fix(iaas): print valid JSON/YAML output for list cmds #1365
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
Open
j1n-o9r
wants to merge
40
commits into
stackitcloud:main
Choose a base branch
from
j1n-o9r:fix/STACKITCLI-241-iaas-json-list-output
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
70b932b
fix returning empty server array in case the response does not return…
j1n-o9r 14cca95
adapted outputResult signature to comply to linter
j1n-o9r 972a75e
switched to getter for retrieving the items
j1n-o9r 7f78cf8
adapted printing behavior to align with expected behavior
j1n-o9r 936bb00
change printing to defined output instead of stderr
j1n-o9r 07bb839
adapted network list command to align to expectations
j1n-o9r f015fae
remove unnecessary normalization of nil value in response items after…
j1n-o9r 7fb466a
adapted network-area list command to align to expectations
j1n-o9r 2e13f98
removed redundant check
j1n-o9r fd6ccb0
adapted affinity list command to align to expectations
j1n-o9r 6752d88
adapted image list command to align to expectations
j1n-o9r 3f6a8be
adapted key pair list command to align to expectations
j1n-o9r 8e34092
fixed debug print in key pair list command
j1n-o9r 51fb3e1
move project label retrieval
j1n-o9r 4661dc5
adapted public ip list command to align to expectations
j1n-o9r e0db653
adapted security group list command to align to expectations
j1n-o9r b3afc4b
added missing --limit flag for list security groups command
j1n-o9r f8d2829
adapted volumes list command to align to expectations
j1n-o9r bf4718f
adapted volume snapshots list command to align to expectations
j1n-o9r a888af1
adapted volume performance class list command to align to expectations
j1n-o9r 02db11e
adapted volume backups list command to align to expectations
j1n-o9r 42eafa4
fixed order of params
j1n-o9r 48e9f80
adapted network area network ranges list command to align to expectat…
j1n-o9r b663d3d
adapted network area routes list command to align to expectations
j1n-o9r 777630a
adapted security group rules list command to align to expectations
j1n-o9r 8885e05
adapted server machine-types list command to align to expectations
j1n-o9r e72a115
adapted server network-interfaces list command to align to expectations
j1n-o9r 4083b93
adapted server service accounts list command to align to expectations
j1n-o9r ee1b411
adapted server volumes list command to align to expectations
j1n-o9r 9b8c40d
removed unnecessary check in public ip
j1n-o9r de440de
regenerate docs
j1n-o9r f25cdc0
fixed linter issue
j1n-o9r 2a3e7ee
Update internal/cmd/key-pair/list/list.go
j1n-o9r 884f8c7
(fix): remove mistakenly added project label from key pairs list command
j1n-o9r d24108d
(fix): made orgLabel in model from pointer to string for not having t…
j1n-o9r dac4b2a
(fix): remove unnecessarily declaring variable with explicit statement
j1n-o9r 3e80ea6
(fix): made OrganizationId and NetworkAreaId in model from pointer to…
j1n-o9r 68c108c
(fix): changed print statement to not contain abbreviation
j1n-o9r 81e4c72
(fix): added test suggestion
j1n-o9r a010f5d
adapted server quotas list command to return valid json/yaml when quo…
j1n-o9r File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.