Skip to content

Commit 1f45c26

Browse files
s-interrubenhoenle
andauthored
Update internal/cmd/git/instance/create/create.go
Co-authored-by: Ruben Hönle <Ruben.Hoenle@stackit.cloud>
1 parent 976271f commit 1f45c26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/cmd/git/instance/create/create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ func outputResult(p *print.Printer, model *inputModel, resp *git.Instance) error
154154

155155
return p.OutputResult(outputFormat, resp, func() error {
156156
if resp == nil {
157-
return nil
157+
return fmt.Errorf("API resp is nil")
158158
}
159159
operationState := "Created"
160160
if model.Async {

0 commit comments

Comments
 (0)