Skip to content

Commit

Permalink
Change accessKey to Spas-AccessKey
Browse files Browse the repository at this point in the history
  • Loading branch information
realJackSun committed Apr 12, 2022
1 parent b67e4b3 commit 36e864b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/nacos_server/nacos_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,6 @@ func (server *NacosServer) GetNextServer() (constant.ServerConfig, error) {

func (server *NacosServer) InjectSkAk(params map[string]string, clientConfig constant.ClientConfig) {
if clientConfig.AccessKey != "" {
params[constant.KEY_ACCESS_KEY] = clientConfig.AccessKey
params["Spas-AccessKey"] = clientConfig.AccessKey
}
}

0 comments on commit 36e864b

Please sign in to comment.