CRI: Remove deprecated error types and update error msg

Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
This commit is contained in:
Maksym Pavlenko
2022-05-28 13:53:28 -07:00
parent 688b30cf52
commit b572a82ad8
3 changed files with 1 additions and 82 deletions

View File

@@ -136,7 +136,7 @@ func getImage(ctx context.Context, i containerd.Image) (*Image, error) {
spec, err := i.Spec(ctx)
if err != nil {
return nil, fmt.Errorf("failed to read get image spec: %w", err)
return nil, fmt.Errorf("failed to get OCI image spec: %w", err)
}
return &Image{