update: user-agent
parent
94789aaf68
commit
bbedddb609
|
@ -54,7 +54,7 @@ func New() *resty.Client {
|
|||
OnAfterResponse(restyAfterResponseHook).
|
||||
SetPreRequestHook(restyBeforeRequestHook).
|
||||
OnError(restyErrHook).
|
||||
SetHeader("User-Agent", "envmgr-restyclient")
|
||||
SetHeader("User-Agent", "restyclient")
|
||||
})
|
||||
}
|
||||
return globalClient
|
||||
|
|
Loading…
Reference in New Issue