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:
Kubernetes Prow Robot 2022-03-26 21:41:21 -07:00 committed by GitHub
commit 45573f8611
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions

View File

@ -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