Skip to content

Commit

Permalink
fix(cli): match err message changed in server resp
Browse files Browse the repository at this point in the history
Contributes to RAIN-15971
  • Loading branch information
afiune committed Apr 6, 2021
1 parent bdfa365 commit 3980a11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/cmd/vuln_container.go
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,7 @@ func getContainerRegistries() ([]string, error) {
// Creates a user-friendly error message
func userFriendlyErrorForOnDemandCtrVulnScan(err error, registry, repo, tag string) error {
if strings.Contains(err.Error(),
"Could not find integraion matching the registry provided",
"Could not find integration matching the registry provided",
) || strings.Contains(err.Error(),
"Could not find vulnerability integrations",
) {
Expand Down

0 comments on commit 3980a11

Please sign in to comment.