From bbedddb6097697474310e2d207fdac493663306f Mon Sep 17 00:00:00 2001 From: joelei Date: Sat, 28 Dec 2024 22:06:48 +0800 Subject: [PATCH] update: user-agent --- http/restyclient/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http/restyclient/client.go b/http/restyclient/client.go index c91d36f..5593948 100644 --- a/http/restyclient/client.go +++ b/http/restyclient/client.go @@ -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