fix misleading comment in expand_volume.go

This commit is contained in:
Matthew Cary 2020-08-17 13:51:03 -07:00
parent 0d1d65661c
commit 8ea57e55d7

View File

@ -248,7 +248,7 @@ func (v *volumeExpandTestSuite) DefineTests(driver TestDriver, pattern testpatte
}()
framework.ExpectNoError(err, "While creating pods for resizing")
// We expand the PVC while no pod is using it to ensure offline expansion
// We expand the PVC while l.pod is using it for online expansion.
ginkgo.By("Expanding current pvc")
currentPvcSize := l.resource.Pvc.Spec.Resources.Requests[v1.ResourceStorage]
newSize := currentPvcSize.DeepCopy()