Skip to content

Commit b671806

Browse files
committed
chore(logs): make linter happy
1 parent 2de621d commit b671806

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/cmd/logs/instance/create/create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ func NewCmd(params *types.CmdParams) *cobra.Command {
9595
if resp == nil {
9696
return fmt.Errorf("create Logs instance: empty response from API")
9797
}
98-
if len(resp.Id) == 0 {
98+
if resp.Id == "" {
9999
return fmt.Errorf("create Logs instance: instance id missing in response")
100100
}
101101
instanceId := resp.Id

0 commit comments

Comments
 (0)