Skip to content

Commit

Permalink
fix: update format specifier in fmt.Errorf
Browse files Browse the repository at this point in the history
Signed-off-by: Vishal Choudhary <[email protected]>
  • Loading branch information
vishal-chdhry committed Sep 10, 2023
1 parent 4ac0c61 commit 8fd56c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/oci/remote/remote.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ var (
)

func NewEntityNotFoundError(err error) error {
return fmt.Errorf("%s error: %v", ErrEntityNotFound, err)
return fmt.Errorf("%s error: %w", ErrEntityNotFound, err)
}

func IsEntityNotFoundError(err error) bool {
Expand Down

0 comments on commit 8fd56c1

Please sign in to comment.