Merge pull request #607 from sargun/fix-port-setting

Fix being able to set the VK's listening port
This commit is contained in:
Brian Goff
2019-05-09 16:22:54 -07:00
committed by GitHub

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 == "" {