feat(valkey): onboard valkey - #1530
Conversation
Relates to STACKITCLI-428
51be0ae to
6e2dafe
Compare
|
|
||
| func outputResult(p *print.Printer, model *inputModel, projectLabel, instanceId string, resp *valkey.CreateInstanceResponse) error { | ||
| return p.OutputResult(model.OutputFormat, resp, func() error { | ||
| if model == nil { |
There was a problem hiding this comment.
This check should be made before calling this function otherwise model.OutputFormat would crash if model is nil
There was a problem hiding this comment.
Where would it crash? I don't think model is accessed between passing and this check
There was a problem hiding this comment.
If model is nil, then the call to this function would crash by passing model.OutputFormat
Merging this branch changes the coverage (1 decrease, 11 increase)
Coverage by fileChanged files (no unit tests)
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
|
|
Currently not testable due to API-issue. We will have to wait for a fix |
|
This PR was marked as stale after 7 days of inactivity and will be closed after another 7 days of further inactivity. If this PR should be kept open, just add a comment, remove the stale label or push new commits to it. |
Description
Relates to STACKITCLI-428
Checklist
make fmtmake generate-docs(will be checked by CI)make test(will be checked by CI)make lint(will be checked by CI)