fix fmt wording error

This commit is contained in:
edisonxiang 2017-11-22 19:58:59 +08:00
parent 18f0802852
commit 29d42afe08

View File

@ -514,7 +514,7 @@ func TestGetHostPathVolumesForTheControlPlane(t *testing.T) {
for _, rt := range tests {
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 {
delete(mounts.volumes[kubeadmconstants.KubeControllerManager], flexvolumeDirVolumeName)
}