Fix being able to set the VK's listening port

This commit is contained in:
Sargun Dhillon
2019-05-08 17:18:42 -07:00
parent ce5f049401
commit cdfb468f51

View File

@@ -117,8 +117,9 @@ func SetDefaultOpts(c *Opts) error {
return errors.Wrap(err, "error parsing KUBELET_PORT environment variable")
}
c.ListenPort = int32(p)
} else {
c.ListenPort = DefaultListenPort
}
c.ListenPort = DefaultListenPort
}
if c.KubeNamespace == "" {