Skip to content

Commit

Permalink
πŸ› (server)Correct server bad log string format
Browse files Browse the repository at this point in the history
  • Loading branch information
tuarrep committed Feb 26, 2019
1 parent b3eb9e8 commit 52c47ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func (this *Server) sendAnnounce() {
func (this *Server) checkPeersHealth() {
for id, device := range this.peers {
if time.Now().After(device.lastSeen.Add(3 * tickInterval)) {
this.log.Warn(fmt.Sprintf("Device %this not announced since a while. Romoving it from known peers.", id))
this.log.Warn(fmt.Sprintf("Device %s not announced since a while. Romoving it from known peers.", id))
delete(this.peers, id)
notification := &message.PeerOffline{Id: id}
this.Messenger.Message <- notification
Expand Down

0 comments on commit 52c47ae

Please sign in to comment.