mirror of https://github.com/kubernetes/kops.git
Merge pull request #13420 from olemarkus/remove-unused-var
Remove id var, which is never used beyond that if test
This commit is contained in:
commit
45573f8611
|
|
@ -252,11 +252,6 @@ func run() error {
|
|||
klog.Fatalf("seed provider for %q not yet implemented", cloud)
|
||||
}
|
||||
|
||||
id := os.Getenv("HOSTNAME")
|
||||
if id == "" {
|
||||
klog.Warningf("Unable to fetch HOSTNAME for use as node identifier")
|
||||
}
|
||||
|
||||
channelName := "dns"
|
||||
var gossipState gossip.GossipState
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue