Skip to content

Commit 14b7c0b

Browse files
committed
resolved comment
1 parent 2ab6035 commit 14b7c0b

File tree

1 file changed

+0
-4
lines changed
  • internal/cmd/logs/access_token/create

1 file changed

+0
-4
lines changed

internal/cmd/logs/access_token/create/create.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,6 @@ func NewCmd(params *types.CmdParams) *cobra.Command {
9898
return fmt.Errorf("create log access-token : %w", err)
9999
}
100100

101-
if resp == nil || resp.Id == nil {
102-
return fmt.Errorf("create log access-token : empty response")
103-
}
104-
105101
return outputResult(params.Printer, model.OutputFormat, instanceLabel, resp)
106102
},
107103
}

0 commit comments

Comments
 (0)