From 4bafd53a028569dc29e0775fa61cf5ea096724d6 Mon Sep 17 00:00:00 2001 From: Humble Chirammal Date: Fri, 16 Sep 2022 16:50:20 +0530 Subject: [PATCH] Correct typos in pkg/controller/volume Signed-off-by: Humble Chirammal --- .../volume/attachdetach/reconciler/reconciler_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/controller/volume/attachdetach/reconciler/reconciler_test.go b/pkg/controller/volume/attachdetach/reconciler/reconciler_test.go index 73b2f77be35..fcc418054f6 100644 --- a/pkg/controller/volume/attachdetach/reconciler/reconciler_test.go +++ b/pkg/controller/volume/attachdetach/reconciler/reconciler_test.go @@ -659,7 +659,7 @@ func Test_Run_UpdateNodeStatusFailBeforeOneVolumeDetachNodeWithReadWriteOnce(t * // Mock NodeStatusUpdate fail rc.(*reconciler).nodeStatusUpdater = statusupdater.NewFakeNodeStatusUpdater(true /* returnError */) reconciliationLoopFunc() - // The first detach will be triggered after at leaset 50ms (maxWaitForUnmountDuration in test). + // The first detach will be triggered after at least 50ms (maxWaitForUnmountDuration in test). time.Sleep(100 * time.Millisecond) reconciliationLoopFunc() // Right before detach operation is performed, the volume will be first removed from being reported @@ -722,7 +722,7 @@ func Test_Run_OneVolumeDetachFailNodeWithReadWriteOnce(t *testing.T) { // Delete the pod, but detach will fail dsw.DeletePod(types.UniquePodName(podName1), generatedVolumeName, nodeName1) - // The first detach will be triggered after at leaset 50ms (maxWaitForUnmountDuration in test). + // The first detach will be triggered after at least 50ms (maxWaitForUnmountDuration in test). // Right before detach operation is performed, the volume will be first removed from being reported // as attached on node status (RemoveVolumeFromReportAsAttached). After detach operation which is expected to fail, // controller then added the volume back as attached.