Skip to content

Commit

Permalink
Update sdk/storage/azblob/service/client_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Sourav Gupta <[email protected]>
  • Loading branch information
tanyasethi-msft and souravgupta-msft authored Jan 22, 2024
1 parent 6247571 commit 745d597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/storage/azblob/service/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 745d597

Please sign in to comment.