mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 06:54:01 +00:00
Merge pull request #94061 from mattcary/fix-expand-offline-comment
fix misleading comment in expand_volume.go
This commit is contained in:
commit
2770fc6128
@ -248,7 +248,7 @@ func (v *volumeExpandTestSuite) DefineTests(driver TestDriver, pattern testpatte
|
|||||||
}()
|
}()
|
||||||
framework.ExpectNoError(err, "While creating pods for resizing")
|
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")
|
ginkgo.By("Expanding current pvc")
|
||||||
currentPvcSize := l.resource.Pvc.Spec.Resources.Requests[v1.ResourceStorage]
|
currentPvcSize := l.resource.Pvc.Spec.Resources.Requests[v1.ResourceStorage]
|
||||||
newSize := currentPvcSize.DeepCopy()
|
newSize := currentPvcSize.DeepCopy()
|
||||||
|
Loading…
Reference in New Issue
Block a user