We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55cd9de commit 54bc48fCopy full SHA for 54bc48f
components/supervisor/pkg/supervisor/docker_test.go
@@ -223,7 +223,7 @@ func TestInsertCredentialsIntoConfig_Parsing(t *testing.T) {
223
"reg2.com:6000": {"auth": "token2"},
224
"https://index.docker.io/v1/": {"auth": "token3"}
225
}`,
226
- expectedCount: 4,
+ expectedCount: 3,
227
},
228
{
229
name: "empty imageAuth string",
@@ -346,7 +346,7 @@ func TestInsertCredentialsIntoConfig_Parsing(t *testing.T) {
346
}
347
348
if len(expectedAuthsMap) == 0 {
349
- if resultConfig.Auths != nil && len(resultConfig.Auths) != 0 {
+ if len(resultConfig.Auths) != 0 {
350
t.Errorf("Expected empty auths, but got: %v", resultConfig.Auths)
351
352
} else {
0 commit comments