diff --git a/pkg/util/volumes/ebs.go b/pkg/util/volumes/ebs.go index b6b185311..f04504a79 100644 --- a/pkg/util/volumes/ebs.go +++ b/pkg/util/volumes/ebs.go @@ -177,7 +177,7 @@ func (r *EBSVolumeResizer) ModifyVolume(volumeID string, newType string, newSize } // DisconnectFromProvider closes connection to the EC2 instance -func (c *EBSVolumeResizer) DisconnectFromProvider() error { - c.connection = nil +func (r *EBSVolumeResizer) DisconnectFromProvider() error { + r.connection = nil return nil }