commit | b4a9ab0fe92b67fc5a9f54b4d34294781ec154ff | [log] [tgz] |
---|---|---|
author | David K. Bainbridge <dbainbri@ciena.com> | Fri Sep 20 15:12:16 2019 -0700 |
committer | David Bainbridge <dbainbri@ciena.com> | Tue Sep 24 18:24:39 2019 +0000 |
tree | 2aa2dfc9eb03f8e6be590510d4a0edf87c73e61a | |
parent | 251a11c0ffe60512318a644cd6ce0dc4e12f4018 [diff] [blame] |
VOL-1723 - add readiness probe capability to rw-core Change-Id: I1cf42e88712586f140a2dfa9d0b638b48261caac
diff --git a/common/grpc/server.go b/common/grpc/server.go index d5685f1..e3f3d99 100644 --- a/common/grpc/server.go +++ b/common/grpc/server.go
@@ -118,7 +118,9 @@ Stop servicing GRPC requests */ func (s *GrpcServer) Stop() { - s.gs.Stop() + if s.gs != nil { + s.gs.Stop() + } } /*