From a091af9c6af35bd6b94891f392ecb2f84b2150f8 Mon Sep 17 00:00:00 2001 From: mozillazg Date: Mon, 11 Nov 2024 18:23:44 +0800 Subject: [PATCH] fix: fix lint --- pkg/credentials/aliyuncli/aliyuncli.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/credentials/aliyuncli/aliyuncli.go b/pkg/credentials/aliyuncli/aliyuncli.go index a7d94038..24029a5c 100644 --- a/pkg/credentials/aliyuncli/aliyuncli.go +++ b/pkg/credentials/aliyuncli/aliyuncli.go @@ -170,7 +170,7 @@ func (p *ProfileWrapper) GetCredentialsByChainableRamRoleArn() (provider.Credent log.Logger.Debugf("get credentials from source profile %s", profileName) source, loaded := p.conf.GetProfile(profileName) if !loaded { - return nil, fmt.Errorf("can not load the source profile: " + profileName) + return nil, fmt.Errorf("can not load the source profile: %s", profileName) } newP := &ProfileWrapper{ cp: source,