add other impersonation fields to transport

This commit is contained in:
deads2k
2016-11-14 11:32:27 -05:00
parent c9d0969d25
commit ef19bf8413
7 changed files with 127 additions and 13 deletions

View File

@@ -205,7 +205,7 @@ func TestAnonymousConfig(t *testing.T) {
// this is the list of known security related fields, add to this list if a new field
// is added to Config, update AnonymousClientConfig to preserve the field otherwise.
expected.Impersonate = ""
expected.Impersonate = ImpersonationConfig{}
expected.BearerToken = ""
expected.Username = ""
expected.Password = ""