Skip to content

Commit da545a0

Browse files
ycombinatorpchila
andauthored
Simply LOL
Co-authored-by: Paolo Chilà <[email protected]>
1 parent bd961a3 commit da545a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/pkg/agent/application/upgrade/rollback.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ func makeBaseWatchCmd(agentExecutable string, rollbackWindow time.Duration) *exe
251251
}
252252

253253
if rollbackWindow > 0 {
254-
cmdArgs = append(cmdArgs, "--rollback-window", fmt.Sprintf("%s", rollbackWindow.String()))
254+
cmdArgs = append(cmdArgs, "--rollback-window", rollbackWindow.String())
255255
}
256256

257257
// #nosec G204 -- user cannot inject any parameters to this command

0 commit comments

Comments
 (0)