Skip to content

Commit

Permalink
fix: spelling mistake in Error message
Browse files Browse the repository at this point in the history
Signed-off-by: Bradley Jones <bradley.jones@anchore.com>
  • Loading branch information
bradleyjones committed Aug 31, 2023
1 parent a5409e0 commit d72cfda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/http/api/v1/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func ValidateScanRequest(req *harbor.ScanRequest) error {
}

if req.Artifact.Digest == "" {
return fmt.Errorf("emtpy digest")
return fmt.Errorf("empty digest")
}

if req.Artifact.Repository == "" {
Expand Down

0 comments on commit d72cfda

Please sign in to comment.