Rename var.

This commit is contained in:
Jan Mußler 2020-12-08 16:16:04 +01:00
parent 163fc931c2
commit e79a6c4ec9
1 changed files with 2 additions and 2 deletions

View File

@ -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
}