Skip to content

Commit d0f5736

Browse files
authored
Ensure that the pollSince is greater than Activation start time (#461)
This ensures that poll command does not repeatedly keep on fetching the last activation
1 parent ab412be commit d0f5736

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commands/activation.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ var activationPollCmd = &cobra.Command{
402402
reported[activation.ActivationID] = true
403403
}
404404
if activation.Start > pollSince {
405-
pollSince = activation.Start
405+
pollSince = activation.Start + 1
406406
}
407407
}
408408
time.Sleep(time.Second * 2)

0 commit comments

Comments
 (0)