Skip to content

Commit

Permalink
Merge pull request #41 from aoxn/k/master
Browse files Browse the repository at this point in the history
vpc client refresh token
  • Loading branch information
k8s-ci-robot authored Apr 2, 2019
2 parents 684449c + 068487a commit 3400084
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cloud-controller-manager/clientmgr.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,9 @@ func NewClientMgr(key, secret string) (*ClientMgr, error) {
pvtzclient.WithSecurityToken(rtok).
WithAccessKeyId(rkey).
WithAccessKeySecret(rsecret)
vpcclient.WithSecurityToken(rtok).
WithAccessKeyId(rkey).
WithAccessKeySecret(rsecret)
}, time.Duration(TOKEN_RESYNC_PERIOD), mgr.stop)

return mgr, nil
Expand Down

0 comments on commit 3400084

Please sign in to comment.