[ACI] Support to add extra user agent to the request (#378)
* Add UserAgent * Change to join the user agent with a whitespace and set in the header * Remove empty entry from user agent
This commit is contained in:
@@ -25,7 +25,7 @@ func TestNewClient(t *testing.T) {
|
||||
t.Fatalf("Failed to load Azure authentication file: %v", err)
|
||||
}
|
||||
|
||||
c, err := NewClient(auth)
|
||||
c, err := NewClient(auth, "unit-test")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user