progress: Show success message when finished counting down

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
This commit is contained in:
Aaron Lehmann 2017-06-27 15:07:10 -07:00
parent 2eac0bb7b7
commit 82e069026b
1 changed files with 5 additions and 0 deletions

View File

@ -129,6 +129,11 @@ func ServiceProgress(ctx context.Context, client client.APIClient, serviceID str
} }
} }
if converged && time.Since(convergedAt) >= monitor { if converged && time.Since(convergedAt) >= monitor {
progressOut.WriteProgress(progress.Progress{
ID: "verify",
Action: "Service converged",
})
return nil return nil
} }