Skip to content

Commit

Permalink
fixup: Update cmd/containerd-shim-runhcs-v1/rootfs.go
Browse files Browse the repository at this point in the history
Co-authored-by: Kathryn Baldauf <kabaldau@microsoft.com>
  • Loading branch information
TBBle and katiewasnothere authored Sep 25, 2023
1 parent 2f84b53 commit 7ca06cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/containerd-shim-runhcs-v1/rootfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func parseLegacyRootfsMount(m *types.Mount) (string, []string, error) {
containerdMount := mount.Mount{Type: m.Type, Source: m.Source, Target: m.Target, Options: m.Options}
parentLayerPaths, err := containerdMount.GetParentPaths()
if err != nil {
return "", nil, fmt.Errorf("unmarshal parent layer paths from mount: %v: %w", err, errdefs.ErrFailedPrecondition)
return "", nil, fmt.Errorf("failed to get mount's parent layer paths: %v: %w", err, errdefs.ErrFailedPrecondition)
}
return m.Source, parentLayerPaths, nil
}
Expand Down

0 comments on commit 7ca06cb

Please # to comment.