Skip to content

Commit 7af9232

Browse files
committed
fix error code (see #79074)
1 parent f7f5149 commit 7af9232

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/lib/util/path_util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func (ps PathSpec) LoadContents(manifestDir string) (contents []byte, err error)
6262

6363
contents, err = io.ReadAll(requestFile)
6464
if err != nil {
65-
return nil, fmt.Errorf("loading file at %q: %w", ps, err)
65+
return nil, fmt.Errorf("loading file at %q: %w", ps.Path, err)
6666
}
6767

6868
return contents, nil

0 commit comments

Comments
 (0)