review comments

pull/8565/head
Priya Wadhwa 2020-06-25 19:39:59 -07:00
parent 903686172d
commit e32e2135ed
1 changed files with 1 additions and 4 deletions

View File

@ -582,11 +582,8 @@ func ShutDown(ociBin string, name string) error {
// iptablesFileExists checks if /var/lib/dpkg/alternatives/iptables exists in minikube
// this file is necessary for the entrypoint script to pass
// see: https://github.com/kubernetes/minikube/issues/8179
// TODO: https://github.com/kubernetes/minikube/issues/8179
func iptablesFileExists(ociBin string, nameOrID string) bool {
if ociBin != Docker {
return true
}
file := "/var/lib/dpkg/alternatives/iptables"
_, err := runCmd(exec.Command(ociBin, "exec", nameOrID, "stat", file), false)
if err != nil {