mirror of https://github.com/docker/cli.git
progress: Show success message when finished counting down
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
This commit is contained in:
parent
2eac0bb7b7
commit
82e069026b
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue