Skip to content

Commit

Permalink
PR Review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
udnay committed Feb 12, 2025
1 parent bad7972 commit f366531
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/api/cached.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ func (c *Cached) Prepare(ctx context.Context) error {

c.currentVersion = version

logger.Info(ctx, c.GetCachePath())
logger.Info(ctx, "downloaded golden copy", key.DurationMS.Field(time.Since(start)), key.Version.Field(version), key.Count.Field(int64(count)))
return nil
}
Expand Down Expand Up @@ -213,7 +212,7 @@ func (c *Cached) NodePublishVolume(ctx context.Context, req *csi.NodePublishVolu

err = execCommand("mount", mountArgs...)
if err != nil {
return nil, fmt.Errorf("failed to mount overlay: %s", err)
return nil, fmt.Errorf("failed to mount overlay 'mount %v': %v", mountArgs, err)
}

cachePath := path.Join(targetPath, CACHE_PATH_SUFFIX)
Expand Down

0 comments on commit f366531

Please sign in to comment.