Add a TODO to install sync in agnhost

This commit is contained in:
Mauricio Poppe 2021-04-16 00:01:18 +00:00
parent 7b0b47c132
commit eaf2954ad8

View File

@ -142,7 +142,7 @@ func (tk *TestKubeconfig) WriteFileViaContainer(podName, containerName string, p
}
}
command := fmt.Sprintf("echo '%s' > '%s'; sync", contents, path)
// TODO: replace with `framework.NodeOSDistroIs` when #81245 is complete
// TODO(mauriciopoppe): remove this statement once we add `sync` to the test image, ref #101172
if e2epod.NodeOSDistroIs("windows") {
command = fmt.Sprintf("echo '%s' > '%s';", contents, path)
}