From 3980a11ab319a636a36dd70647ce00fd04e6f3bc Mon Sep 17 00:00:00 2001 From: Salim Afiune Date: Tue, 6 Apr 2021 17:27:02 -0600 Subject: [PATCH] fix(cli): match err message changed in server resp Contributes to RAIN-15971 --- cli/cmd/vuln_container.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/cmd/vuln_container.go b/cli/cmd/vuln_container.go index 5ddb743e9..8cb8f2d15 100644 --- a/cli/cmd/vuln_container.go +++ b/cli/cmd/vuln_container.go @@ -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", ) {