From 8221ab464153ace5d091d3894ad31ce84cffd22c Mon Sep 17 00:00:00 2001 From: yangfan Date: Sun, 11 Feb 2018 10:41:28 +0800 Subject: [PATCH] some typo --- pkg/kubelet/volumemanager/cache/actual_state_of_world_test.go | 2 +- pkg/kubelet/volumemanager/reconciler/reconciler.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/kubelet/volumemanager/cache/actual_state_of_world_test.go b/pkg/kubelet/volumemanager/cache/actual_state_of_world_test.go index e408c5d270..6a7f561a13 100644 --- a/pkg/kubelet/volumemanager/cache/actual_state_of_world_test.go +++ b/pkg/kubelet/volumemanager/cache/actual_state_of_world_test.go @@ -296,7 +296,7 @@ func Test_AddPodToVolume_Positive_ExistingVolumeExistingNode(t *testing.T) { verifyVolumeExistsWithSpecNameInVolumeAsw(t, podName, volumeSpec.Name(), asw) } -// Calls AddPodToVolume() to add pod to empty data stuct +// Calls AddPodToVolume() to add pod to empty data struct // Verifies call fails with "volume does not exist" error. func Test_AddPodToVolume_Negative_VolumeDoesntExist(t *testing.T) { // Arrange diff --git a/pkg/kubelet/volumemanager/reconciler/reconciler.go b/pkg/kubelet/volumemanager/reconciler/reconciler.go index f7293c6d76..d805e1e11e 100644 --- a/pkg/kubelet/volumemanager/reconciler/reconciler.go +++ b/pkg/kubelet/volumemanager/reconciler/reconciler.go @@ -311,7 +311,7 @@ func (rc *reconciler) reconcile() { // sync process tries to observe the real world by scanning all pods' volume directories from the disk. // If the actual and desired state of worlds are not consistent with the observed world, it means that some // mounted volumes are left out probably during kubelet restart. This process will reconstruct -// the volumes and udpate the actual and desired states. For the volumes that cannot support reconstruction, +// the volumes and update the actual and desired states. For the volumes that cannot support reconstruction, // it will try to clean up the mount paths with operation executor. func (rc *reconciler) sync() { defer rc.updateLastSyncTime()