Skip to content

Commit d69ef93

Browse files
committed
chore(logs): remove unnecessary check
1 parent 2de621d commit d69ef93

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,6 @@ 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 {
99-
return fmt.Errorf("create Logs instance: instance id missing in response")
100-
}
10198
instanceId := resp.Id
10299

103100
// Wait for async operation, if async mode not enabled

0 commit comments

Comments
 (0)