Skip to content

Commit

Permalink
remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
Thorsten Klein committed Feb 2, 2019
1 parent 4311f02 commit 25c8a15
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions internal/pkg/config/watcher/loader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,22 +146,6 @@ func TestLoadFromConfigMap(t *testing.T) {
if len(ic.VolumeMounts) != expectedICF.volumeMountCount {
t.Fatalf("expected %d volume mounts in %s, but found %d", expectedICF.volumeMountCount, expectedICF.name, len(ic.VolumeMounts))
}
/*
for _, expectedVolumeMount := range expectedICF.volumeMounts {
for _, container := range ic.Containers {
volumeMountExists := false
for _, volumeMount := range container.VolumeMounts {
if volumeMount.Name == expectedVolumeMount {
volumeMountExists = true
break
}
}
if !volumeMountExists {
t.Fatalf("did not find expected VolumeMount '%s' in container '%s'", expectedVolumeMount, container.Name)
}
}
}
*/
for _, actualIC := range ics {
if ic.Name == actualIC.Name {
if ic.String() != actualIC.String() {
Expand Down

0 comments on commit 25c8a15

Please sign in to comment.