From af5e22e06b5136892b6e9a1400730d780165e938 Mon Sep 17 00:00:00 2001 From: mnp-juniper Date: Tue, 25 Feb 2025 09:29:06 -0800 Subject: [PATCH] Added deviation for GetOnRootUnsupported --- .../tests/system_g_protocol_test/system_g_protocol_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/feature/system/system_base_test/tests/system_g_protocol_test/system_g_protocol_test.go b/feature/system/system_base_test/tests/system_g_protocol_test/system_g_protocol_test.go index 281a237a330..2e51f3c6975 100644 --- a/feature/system/system_base_test/tests/system_g_protocol_test/system_g_protocol_test.go +++ b/feature/system/system_base_test/tests/system_g_protocol_test/system_g_protocol_test.go @@ -69,8 +69,7 @@ func TestGNMIClient(t *testing.T) { if deviations.GNMIGetOnRootUnsupported(dut) { req = &gpb.GetRequest{ Path: []*gpb.Path{{ - Elem: []*gpb.PathElem{ - }}}, + Elem: []*gpb.PathElem{}}}, Type: gpb.GetRequest_CONFIG, Encoding: gpb.Encoding_JSON_IETF, }