mirror of https://github.com/k3s-io/k3s
Address comments.
parent
c6255afe37
commit
59da62e2a1
|
@ -76,7 +76,7 @@ func main() {
|
||||||
Port: *minionPort,
|
Port: *minionPort,
|
||||||
}
|
}
|
||||||
|
|
||||||
client := client.New("http://localhost:8080", nil)
|
client := client.New("http://"+net.JoinHostPort(*address, strconv.Itoa(int(*port))), nil)
|
||||||
|
|
||||||
var m *master.Master
|
var m *master.Master
|
||||||
if len(etcdServerList) > 0 {
|
if len(etcdServerList) > 0 {
|
||||||
|
|
Loading…
Reference in New Issue