Fix typo in pull.go

Signed-off-by: jonathan-dev <jonathan.drude@gmail.com>
This commit is contained in:
jonathan-dev 2024-09-10 08:48:52 +02:00 committed by Guillaume Lours
parent e6ef8629a8
commit b633c5c3e1
1 changed files with 1 additions and 1 deletions

View File

@ -265,7 +265,7 @@ func ImageDigestResolver(ctx context.Context, file *configfile.ConfigFile, apiCl
inspect, err := apiClient.DistributionInspect(ctx, named.String(), auth)
if err != nil {
return "",
fmt.Errorf("failed ot resolve digest for %s: %w", named.String(), err)
fmt.Errorf("failed to resolve digest for %s: %w", named.String(), err)
}
return inspect.Descriptor.Digest, nil
}