1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-08 18:39:40 +00:00

fix golint errors

This commit is contained in:
Krunal Hingu
2025-02-21 14:07:20 +05:30
parent 37ef1abcbf
commit 3509bfad9d
4 changed files with 4 additions and 4 deletions

View File

@@ -36,7 +36,7 @@ func ECRCredentialPlugin(plugin *v3.ECRCredentialPlugin, pr string) (authConfig
if len(matches) == 0 {
return authConfig, fmt.Errorf("Not a valid ECR registry")
} else if len(matches) < 3 {
return authConfig, fmt.Errorf(pr + "is not a valid repository URI for Amazon Elastic Container Registry.")
return authConfig, fmt.Errorf("%s is not a valid repository URI for Amazon Elastic Container Registry", pr)
}
config := &aws.Config{