diff --git a/pkg/controller/volume/attachdetach/attach_detach_controller.go b/pkg/controller/volume/attachdetach/attach_detach_controller.go index 3c01e6b05a4cd..e7576ea0c3acc 100644 --- a/pkg/controller/volume/attachdetach/attach_detach_controller.go +++ b/pkg/controller/volume/attachdetach/attach_detach_controller.go @@ -335,7 +335,7 @@ func (adc *attachDetachController) populateDesiredStateOfWorld() error { } for _, pod := range pods { podToAdd := pod - adc.podAdd(&podToAdd) + adc.podAdd(podToAdd) for _, podVolume := range podToAdd.Spec.Volumes { // The volume specs present in the ActualStateOfWorld are nil, let's replace those // with the correct ones found on pods. The present in the ASW with no corresponding