Fix wrong type assertion for gnmi version within capabilities
All threads resolved!
All threads resolved!
Compare changes
+ 6
− 22
@@ -17,11 +17,8 @@ limitations under the License.
@@ -17,11 +17,8 @@ limitations under the License.
@@ -39,7 +36,6 @@ import (
@@ -39,7 +36,6 @@ import (
@@ -415,23 +411,11 @@ func (s *Server) toGoStruct(jsonTree map[string]interface{}) (ygot.ValidatedGoSt
@@ -415,23 +411,11 @@ func (s *Server) toGoStruct(jsonTree map[string]interface{}) (ygot.ValidatedGoSt
@@ -572,7 +556,7 @@ func (s *Server) Capabilities(ctx context.Context, req *pb.CapabilityRequest) (*
@@ -572,7 +556,7 @@ func (s *Server) Capabilities(ctx context.Context, req *pb.CapabilityRequest) (*