serialize dockercfg with matching auth field

This commit is contained in:
deads2k
2015-06-01 08:29:51 -04:00
parent 0bb78fe6c5
commit ac2c43fc87
2 changed files with 8 additions and 10 deletions

View File

@@ -184,9 +184,7 @@ func TestDockerConfigEntryJSONCompatibleEncode(t *testing.T) {
}
for i, tt := range tests {
toEncode := tt.input.ConvertToDockerConfigCompatible()
actual, err := json.Marshal(toEncode)
actual, err := json.Marshal(tt.input)
if err != nil {
t.Errorf("case %d: unexpected error: %v", i, err)
}