Skip to content

Commit

Permalink
Set user agent
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszo committed Nov 6, 2023
1 parent 9a60882 commit 3b5d01d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/koyeb/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ func getApiClient() (*koyeb.APIClient, error) {
log.Debugf("Using host: %s using %s", u.Host, u.Scheme)

config := koyeb.NewConfiguration()
config.UserAgent = "koyeb-cli"
config.Servers[0].URL = u.String()
config.HTTPClient = &http.Client{
Transport: &DebugTransport{http.DefaultTransport},
Expand Down

0 comments on commit 3b5d01d

Please sign in to comment.