Skip to content

Commit

Permalink
fix: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mozillazg committed Nov 11, 2024
1 parent efd7839 commit a091af9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/credentials/aliyuncli/aliyuncli.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a091af9

Please sign in to comment.