commit | 2bf1dc7c6dbb0e5bada24eb99ef59516df537f8e | [log] [tgz] |
---|---|---|
author | Chetan Mehrotra <chetanm@apache.org> | Fri Dec 14 10:31:30 2018 +0530 |
committer | Carlos Santana <csantanapr@apache.org> | Mon Dec 17 04:48:14 2018 -0800 |
tree | 74f830e5d0fdef068801af05922e09cbd186d6d6 | |
parent | a11330e6ea411747feab1e47d04f06ea11af2457 [diff] |
Change the pollSince time based on last activation start
diff --git a/commands/activation.go b/commands/activation.go index dcf1ffa..9c0fe20 100644 --- a/commands/activation.go +++ b/commands/activation.go
@@ -387,6 +387,9 @@ printJSON(activation.Logs) reported[activation.ActivationID] = true } + if activation.Start > pollSince { + pollSince = activation.Start + } } time.Sleep(time.Second * 2) }