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