Skip to content
Snippets Groups Projects
Commit f0598f15 authored by Martin Stiemerling's avatar Martin Stiemerling :speech_balloon:
Browse files

missing part

parent 993bd7bd
No related branches found
No related tags found
1 merge request!9First working draft version
...@@ -69,6 +69,10 @@ func (ph *kmsPeer) PeerHandler(kmsName string) { ...@@ -69,6 +69,10 @@ func (ph *kmsPeer) PeerHandler(kmsName string) {
if err != nil { if err != nil {
log.Printf("could not greet: %v", err) log.Printf("could not greet: %v", err)
ph.peerStatus = kmsPeerDown ph.peerStatus = kmsPeerDown
// Send notification about change
if ph.externalNotifierKMSPeer != nil {
ph.externalNotifierKMSPeer <- ph.tcpSocketStr
}
return return
} }
// Works and peer moves to kmsPeerUp // Works and peer moves to kmsPeerUp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment