Repository navigation
Conversation
04e6973 to
d98e51a
Compare
| } | ||
| } | ||
|
|
||
| return outputResult(params.Printer, model.OutputFormat, model.Async, instanceLabel, resp) |
There was a problem hiding this comment.
nitpick: we can pass model, and read the required fields in outputResult function.
| } | ||
|
|
||
| func outputResult(p *print.Printer, outputFormat string, async bool, instanceLabel string, resp *git.Instance) error { | ||
| if resp == nil { |
There was a problem hiding this comment.
We can move this nil check into the OutputResult lambda function below to fix this output for JSON/YAML
|
Not part of this PR, but just recognized while testing. The prompt messages that are used to inform/ confirm, contain text 'stackit git'. I think we should change these to the correct spelling "STACKIT Git." e.g |
Extend describe command to show ACLs. STACKITCLI-555 Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>
56f01dd to
0cb9522
Compare
Merging this branch will increase overall coverage
Coverage detailsCompared to commit bc4b561 (run #41845018522)
Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code. Changed unit test files:
|
Extend describe command to show ACLs.
STACKITCLI-555
Description
Checklist
make fmtmake generate-docs(will be checked by CI)make test(will be checked by CI)make lint(will be checked by CI)