diff --git a/pkg/http/api/v1/handler.go b/pkg/http/api/v1/handler.go index 0c48497..01860f4 100644 --- a/pkg/http/api/v1/handler.go +++ b/pkg/http/api/v1/handler.go @@ -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 == "" {