Skip to content

Commit

Permalink
Remove id var, which is never used beyond that if test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ole Markus With committed Mar 26, 2022
1 parent 520283d commit 222eaeb
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions protokube/cmd/protokube/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 222eaeb

Please sign in to comment.