From 745d597ea7f3f83e97c87a2d66b99ac351d33519 Mon Sep 17 00:00:00 2001 From: tanyasethi-msft <124860586+tanyasethi-msft@users.noreply.github.com> Date: Mon, 22 Jan 2024 18:24:50 +0530 Subject: [PATCH] Update sdk/storage/azblob/service/client_test.go Co-authored-by: Sourav Gupta <98318303+souravgupta-msft@users.noreply.github.com> --- sdk/storage/azblob/service/client_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/storage/azblob/service/client_test.go b/sdk/storage/azblob/service/client_test.go index d9bf8d2b975b..7cf2f7e7591e 100644 --- a/sdk/storage/azblob/service/client_test.go +++ b/sdk/storage/azblob/service/client_test.go @@ -323,7 +323,7 @@ func (u userAgentTest) Do(req *policy.Request) (*http.Response, error) { currentUserAgentHeader := map[string][]string(req.Raw().Header)[userAgentHeader] if !strings.HasPrefix(currentUserAgentHeader[0], "azsdk-go-azblob/"+exported.ModuleVersion) { - return nil, fmt.Errorf(currentUserAgentHeader[0] + " user agent doesn't match expected agent: azsdk-go-azdatalake/v1.2.0 (go1.19.3; Windows_NT)") + return nil, fmt.Errorf(currentUserAgentHeader[0] + " user agent doesn't match expected agent: azsdk-go-azblob/"+exported.ModuleVersion) } return &http.Response{