Merge pull request #94061 from mattcary/fix-expand-offline-comment

fix misleading comment in expand_volume.go
This commit is contained in:
Kubernetes Prow Robot 2020-08-27 04:49:45 -07:00 committed by GitHub
commit 2770fc6128
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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()