wtclient: fix info log line format

This commit is contained in:
Elle Mouton 2023-02-13 17:02:18 +02:00
parent 8623e6107d
commit 1af31bfea7
No known key found for this signature in database
GPG Key ID: D7D916376026F177

View File

@ -406,8 +406,8 @@ func New(config *Config) (*TowerClient, error) {
return
}
c.log.Infof("Using private watchtower %s, offering policy %s",
tower, cfg.Policy)
c.log.Infof("Using private watchtower %x, offering policy %s",
tower.IdentityKey.SerializeCompressed(), cfg.Policy)
// Add the tower to the set of candidate towers.
candidateTowers.AddCandidate(tower)