diff --git a/pkg/controller/daemon/daemon_controller_test.go b/pkg/controller/daemon/daemon_controller_test.go index a4b85b44db1..e0997c03649 100644 --- a/pkg/controller/daemon/daemon_controller_test.go +++ b/pkg/controller/daemon/daemon_controller_test.go @@ -1601,13 +1601,6 @@ func TestNodeShouldRunDaemonPod(t *testing.T) { node := newNode("test-node", simpleDaemonSetLabel) node.Status.Conditions = append(node.Status.Conditions, c.nodeCondition...) node.Status.Allocatable = allocatableResources("100M", "1") - - attachedVolumes := make([]v1.AttachedVolume, 1) - attachedVolumes[0] = v1.AttachedVolume{ - Name: v1.UniqueVolumeName("test"), - } - node.Status.VolumesAttached = attachedVolumes - manager, _, _ := newTestController() manager.nodeStore.Add(node) for _, p := range c.podsOnNode {