We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2de621d commit b671806Copy full SHA for b671806
1 file changed
internal/cmd/logs/instance/create/create.go
@@ -95,7 +95,7 @@ func NewCmd(params *types.CmdParams) *cobra.Command {
95
if resp == nil {
96
return fmt.Errorf("create Logs instance: empty response from API")
97
}
98
- if len(resp.Id) == 0 {
+ if resp.Id == "" {
99
return fmt.Errorf("create Logs instance: instance id missing in response")
100
101
instanceId := resp.Id
0 commit comments