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, }