Skip to content

Commit

Permalink
Update how version is grabbed during origin advertise
Browse files Browse the repository at this point in the history
  • Loading branch information
jhiemstrawisc committed Oct 4, 2023
1 parent b239424 commit 76cdc39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion origin_ui/advertise.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func AdvertiseOrigin() error {

req.Header.Set("Content-Type", "application/json")
req.Header.Set("Authorization", "Bearer "+token)
userAgent := "pelican-origin/" + pelican.ObjectClientOptions.Version
userAgent := "pelican-origin/" + client.ObjectClientOptions.Version
req.Header.Set("User-Agent", userAgent)

// We should switch this over to use the common transport, but for that to happen
Expand Down

0 comments on commit 76cdc39

Please sign in to comment.