Skip to content

Commit

Permalink
RAM support useragent
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaozhu36 committed Oct 8, 2018
1 parent d5ddce9 commit d0b2705
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ FEATURES:

IMPROVEMENTS:

- RAM support useragent ([#713](https://github.com/alibaba/terraform-provider/pull/713))
- Add node_cidr_mas and log_config, fix worker_data_disk issue ([#708](https://github.com/alibaba/terraform-provider/pull/708))
- Add parameter 'force_delete' to support deleting 'PrePaid' instance ([#704](https://github.com/alibaba/terraform-provider/pull/704))
- Correct Function Compute conn ([#703](https://github.com/alibaba/terraform-provider/pull/703))
Expand Down
1 change: 1 addition & 0 deletions alicloud/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ func (c *Config) dnsConn() (*dns.Client, error) {

func (c *Config) ramConn() (ram.RamClientInterface, error) {
client := ram.NewClientWithSecurityToken(c.AccessKey, c.SecretKey, c.SecurityToken)
client.SetUserAgent(getUserAgent())
return client, nil
}

Expand Down
3 changes: 3 additions & 0 deletions vendor/github.com/denverdino/aliyungo/ram/api.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions vendor/vendor.json
Original file line number Diff line number Diff line change
Expand Up @@ -391,10 +391,10 @@
"revisionTime": "2018-04-26T04:54:50Z"
},
{
"checksumSHA1": "NjskU0FKGHTjzjWaHpdmWtwbk3Q=",
"checksumSHA1": "FqE3HXBBMALwVSnJg44rr0xaeuQ=",
"path": "github.com/denverdino/aliyungo/ram",
"revision": "7ca81f64f06b4d65801663f2e1c51e5c18be077d",
"revisionTime": "2018-04-26T04:54:50Z"
"revision": "ad08626f22695059cb1002b617443fb1375903ac",
"revisionTime": "2018-10-08T09:54:15Z"
},
{
"checksumSHA1": "8NlUDEemJ7dZZv58DqwZSBUAzMI=",
Expand Down

0 comments on commit d0b2705

Please sign in to comment.