Skip to content

Commit

Permalink
Improve ImageExists check (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoihrig committed Sep 17, 2020
1 parent 6102490 commit 03eee4c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/docker/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,9 @@ func (c Client) ImageExistsAtRemote(ctx context.Context, image string) (bool, er
if strings.EqualFold("MANIFEST_UNKNOWN", string(diagnostic.Code)) {
return false, nil
}
if strings.EqualFold("NOT_FOUND", string(diagnostic.Code)) {
return false, nil
}
}
}

Expand Down

0 comments on commit 03eee4c

Please sign in to comment.