This is an automated email from the ASF dual-hosted git repository.

csantanapr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-cli.git

commit 2bf1dc7c6dbb0e5bada24eb99ef59516df537f8e
Author: Chetan Mehrotra <[email protected]>
AuthorDate: Fri Dec 14 10:31:30 2018 +0530

    Change the pollSince time based on last activation start
---
 commands/activation.go | 3 +++
 1 file changed, 3 insertions(+)

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 @@ var activationPollCmd = &cobra.Command{
                                        printJSON(activation.Logs)
                                        reported[activation.ActivationID] = true
                                }
+                               if activation.Start > pollSince {
+                                       pollSince = activation.Start
+                               }
                        }
                        time.Sleep(time.Second * 2)
                }

Reply via email to