diff --git a/goKMS/kms/peers/kmsPeer.go b/goKMS/kms/peers/kmsPeer.go index 4c5137292ec13eca3e7e38e3a4fa48cfe815bd28..5c616f650fc405c3874edf795dae9fae40bfef5a 100644 --- a/goKMS/kms/peers/kmsPeer.go +++ b/goKMS/kms/peers/kmsPeer.go @@ -129,7 +129,7 @@ func NewKmsPeer(peerKmsId string, quantummodule QuantumModule, cryptoAlgorithm c } break } else if stat, ok := status.FromError(err); ok && stat.Code() == codes.DeadlineExceeded { - log.Printf("health request for peer: %s timed out after %i seconds", peerKmsId, timeout) + log.Printf("health request for peer: %s timed out after %d seconds", peerKmsId, timeout) if kmsPeer.peerStatus != KmsPeerDown { kmsPeer.peerStatus = KmsPeerDown kmsPeer.eventBus.Publish(event.NewPeerEvent(kmsPeer.TcpSocketStr))