mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
fix misleading comment in expand_volume.go
This commit is contained in:
parent
0d1d65661c
commit
8ea57e55d7
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user