Skip to content

Commit cad6f40

Browse files
jramosfJavier Ramos
authored andcommitted
Remove zero case for trial function
1 parent 2571216 commit cad6f40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

repeater.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ var waitTimes []time.Duration = []time.Duration{
3030
// invoke PowerShell.exe and run
3131
func newRepeater(ctx context.Context) (*repeater, error) {
3232
for i, limit := range waitTimes {
33-
log.Printf("invoking [W] in PowerShell.exe%s", trial(i+1))
33+
log.Printf("invoking [W] in PowerShell.exe%s", trial(i))
3434

3535
cmd := exec.Command("PowerShell.exe", "-Command", "-")
3636
in, err := cmd.StdinPipe()

0 commit comments

Comments
 (0)