"Already exists" also means the pull finished

Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
This commit is contained in:
Djordje Lukic 2020-11-16 19:18:34 +01:00 committed by Nicolas De Loof
parent b0ee6d285a
commit 744aebc3fd
No known key found for this signature in database
GPG Key ID: 9858809D6F8F6E7E
1 changed files with 1 additions and 1 deletions

View File

@ -263,7 +263,7 @@ func toProgressEvent(jm jsonmessage.JSONMessage, w progress.Writer) {
StatusText: jm.Error.Message,
Done: true,
})
} else if jm.Status == "Pull complete" {
} else if jm.Status == "Pull complete" || jm.Status == "Already exists" {
w.Event(progress.Event{
ID: jm.ID,
Text: jm.Status,