Skip to content

Commit

Permalink
change user-agent back
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroshade committed Feb 13, 2024
1 parent 4919648 commit 849e205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion catalog/rest.go
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ func (r *RestCatalog) createSession(opts *options) (*http.Client, error) {

session.defaultHeaders.Set("X-Client-Version", icebergRestSpecVersion)
session.defaultHeaders.Set("Content-Type", "application/json")
session.defaultHeaders.Set("User-Agent", "PyIceberg/0.5.1")
session.defaultHeaders.Set("User-Agent", "GoIceberg/"+iceberg.Version())

if opts.enableSigv4 {
cfg, err := config.LoadDefaultConfig(context.Background())
Expand Down

0 comments on commit 849e205

Please sign in to comment.