Merge pull request #607 from sargun/fix-port-setting
Fix being able to set the VK's listening port
This commit is contained in:
@@ -117,8 +117,9 @@ func SetDefaultOpts(c *Opts) error {
|
|||||||
return errors.Wrap(err, "error parsing KUBELET_PORT environment variable")
|
return errors.Wrap(err, "error parsing KUBELET_PORT environment variable")
|
||||||
}
|
}
|
||||||
c.ListenPort = int32(p)
|
c.ListenPort = int32(p)
|
||||||
|
} else {
|
||||||
|
c.ListenPort = DefaultListenPort
|
||||||
}
|
}
|
||||||
c.ListenPort = DefaultListenPort
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if c.KubeNamespace == "" {
|
if c.KubeNamespace == "" {
|
||||||
|
|||||||
Reference in New Issue
Block a user