Skip to content

Commit

Permalink
fix: more precise log message
Browse files Browse the repository at this point in the history
  • Loading branch information
soerenschneider committed Jul 7, 2023
1 parent f22a814 commit 9c68b32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func (server *Server) verifyMessage(env common.Envelope) error {
hostPublicKeys, ok := server.knownHosts[env.PublicIp.Host]
if !ok {
metrics.PublicKeyMissing.WithLabelValues(env.PublicIp.Host).Inc()
return fmt.Errorf("message for unknown domain '%s' received", env.PublicIp.Host)
return fmt.Errorf("message for unknown host '%s' received", env.PublicIp.Host)
}

for _, hostPublicKey := range hostPublicKeys {
Expand Down

0 comments on commit 9c68b32

Please sign in to comment.