Skip to content

Commit

Permalink
suggestion
Browse files Browse the repository at this point in the history
suggestion
  • Loading branch information
jiuker committed Jun 10, 2024
1 parent 54186ac commit 594b3b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/utils/miniojob/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ func (jobCommand *MinIOIntervalJobCommand) createJob(ctx context.Context, k8sCli
commands = append(commands, strings.SplitN(jobCommand.MCOperation, "/", -1)...)
commands = append(commands, strings.SplitN(jobCommand.Command, " ", -1)...)
for _, command := range commands {
trimCommand := strings.TrimSpace(command)
if trimCommand != "" {
jobCommands = append(jobCommands, trimCommand)
trimmedCommand := strings.TrimSpace(command)
if trimmedCommand != "" {
jobCommands = append(jobCommands, trimmedCommand)
}
}
jobCommands = append(jobCommands, "--insecure")
Expand Down

0 comments on commit 594b3b0

Please sign in to comment.