Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
| ... | ... |
@@ -214,7 +214,7 @@ func (i *ImageService) pullTag(ctx context.Context, ref reference.Named, platfor |
| 214 | 214 |
if err != nil {
|
| 215 | 215 |
if errors.Is(err, docker.ErrInvalidAuthorization) {
|
| 216 | 216 |
// Match error returned by containerd. |
| 217 |
- // https://github.com/containerd/containerd/blob/v1.7.8/remotes/docker/authorizer.go#L189-L191 |
|
| 217 |
+ // https://github.com/containerd/containerd/blob/v2.1.1/core/remotes/docker/authorizer.go#L201-L203 |
|
| 218 | 218 |
if strings.Contains(err.Error(), "no basic auth credentials") {
|
| 219 | 219 |
return err |
| 220 | 220 |
} |