gnmi icon indicating copy to clipboard operation
gnmi copied to clipboard

avoid panic case in func Equal(a, b *pb.TypedValue) bool

Open karimra opened this issue 3 years ago • 1 comments

This PR avoids panic when using func Equal(a, b *pb.TypedValue) bool with a or b being nil. This is done by using TypedValue.GetValue() instead of TypedValue.Value

karimra avatar Aug 03 '21 15:08 karimra

Hi @marcushines @robshakir can you please take a look at this?

hellt avatar Jul 08 '22 09:07 hellt