Skip to content

Commit

Permalink
golangci fix
Browse files Browse the repository at this point in the history
Signed-off-by: Pranav Singh <[email protected]>
  • Loading branch information
theBeginner86 committed Jan 11, 2024
1 parent 98cfb7e commit d71589e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/oci/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func UnCompressOCIArtifact(source, destination string) error {

opt := []validate.Option{}

if err := validate.Image(img, opt...); err != nil {
if err = validate.Image(img, opt...); err != nil {
return ErrValidatingImage(err)
}

Expand Down

0 comments on commit d71589e

Please sign in to comment.