progress: Show success message when finished counting down

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
Upstream-commit: 82e069026b
Component: cli
This commit is contained in:
Aaron Lehmann
2017-06-27 15:07:10 -07:00
parent 59836240bc
commit ad9f81da7f
@@ -129,6 +129,11 @@ func ServiceProgress(ctx context.Context, client client.APIClient, serviceID str
}
}
if converged && time.Since(convergedAt) >= monitor {
progressOut.WriteProgress(progress.Progress{
ID: "verify",
Action: "Service converged",
})
return nil
}