Skip to content

Commit

Permalink
Fix grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
wpjunior committed Aug 19, 2021
1 parent 40fbe6d commit 948e4c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/pkg/rpaas/k8s.go
Original file line number Diff line number Diff line change
Expand Up @@ -2356,7 +2356,7 @@ func allowDNSNames(dnsNames, dnsZones []string) error {
}

if len(unmatchedDNSNames) > 0 {
return fmt.Errorf("These DNS Names is not allowed: %s", strings.Join(unmatchedDNSNames, ", "))
return fmt.Errorf("These DNS Names are not allowed: %s", strings.Join(unmatchedDNSNames, ", "))
}

return nil
Expand Down
2 changes: 1 addition & 1 deletion internal/pkg/rpaas/k8s_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5039,7 +5039,7 @@ func Test_k8sRpaasManager_UpdateCertManagerRequest(t *testing.T) {
EnableCertManager: true,
DefaultCertManagerIssuer: "issuer-1",
},
expectedError: "These DNS Names is not allowed: wrong.io, wrong.com",
expectedError: "These DNS Names are not allowed: wrong.io, wrong.com",
},

"using wrong certificate issuer from configs": {
Expand Down

0 comments on commit 948e4c5

Please sign in to comment.