Skip to content

Commit

Permalink
add a User-Agent prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
asauber committed Mar 8, 2019
1 parent 950ccc3 commit a111661
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cloud/linode/cloud.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ func newCloud() (cloudprovider.Interface, error) {
if Options.LinodeGoDebug {
linodeClient.SetDebug(true)
}
linodeClient.SetUserAgent(fmt.Sprintf("linode-cloud-controller-manager %s", linodego.DefaultUserAgent))

This comment has been minimized.

Copy link
@displague

displague Mar 8, 2019

Contributor

We could include the version of the CCM in the UA, as such:
https://github.com/linode/docker-volume-linode/pull/21/files


// Return struct that satisfies cloudprovider.Interface
return &linodeCloud{
Expand Down

0 comments on commit a111661

Please sign in to comment.