Commit 29d42afe authored by edisonxiang's avatar edisonxiang

fix fmt wording error

parent 18f08028
...@@ -514,7 +514,7 @@ func TestGetHostPathVolumesForTheControlPlane(t *testing.T) { ...@@ -514,7 +514,7 @@ func TestGetHostPathVolumesForTheControlPlane(t *testing.T) {
for _, rt := range tests { for _, rt := range tests {
mounts := getHostPathVolumesForTheControlPlane(rt.cfg) mounts := getHostPathVolumesForTheControlPlane(rt.cfg)
// Avoid unit test errors when the flexvolume is mounted // Avoid unit test errors when the flexvolume is mounted
if _, ok := mounts.volumes[kubeadmconstants.KubeControllerManager][flexvolumeDirVolumeName]; ok { if _, ok := mounts.volumes[kubeadmconstants.KubeControllerManager][flexvolumeDirVolumeName]; ok {
delete(mounts.volumes[kubeadmconstants.KubeControllerManager], flexvolumeDirVolumeName) delete(mounts.volumes[kubeadmconstants.KubeControllerManager], flexvolumeDirVolumeName)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment