diff --git a/cli/config/configfile/file_test.go b/cli/config/configfile/file_test.go index e072d261ef..83574bf85c 100644 --- a/cli/config/configfile/file_test.go +++ b/cli/config/configfile/file_test.go @@ -392,7 +392,7 @@ func TestLoadFromReaderWithUsernamePassword(t *testing.T) { for _, tc := range []types.AuthConfig{ want, - types.AuthConfig{ + { Auth: encodeAuth(&want), }, } {