virt-handler: Update logs of grpc server
Log after the grpc server stop is finished,
in order to record only if it was stopped fully.
@@ -154,8 +154,8 @@ func RunServer(virtShareDir string, stopChan chan struct{}, c chan watch.Event,
case <-done:
log.Log.Info("notify server done")
case <-stopChan:
- log.Log.Info("stopping notify server")
grpcServer.Stop()
+ log.Log.Info("notify server stopped")
}
return nil
