From f63d712c8acabfac14c10deb2f9bb3dce7e02f3a Mon Sep 17 00:00:00 2001 From: Neha Das Date: Thu, 9 Jan 2025 16:55:57 -0800 Subject: [PATCH] Update gnoi_system_test.go --- gnmi_server/gnoi_system_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnmi_server/gnoi_system_test.go b/gnmi_server/gnoi_system_test.go index 4be67111..e4b3e665 100644 --- a/gnmi_server/gnoi_system_test.go +++ b/gnmi_server/gnoi_system_test.go @@ -126,7 +126,7 @@ func TestSystem(t *testing.T) { Message: "Cold reboot due to ...", } - for _, method := range []syspb.RebootMethod{syspb.RebootMethod_UNKNOWN, syspb.RebootMethod_HALT, syspb.RebootMethod_POWERUP} { + for _, method := range []syspb.RebootMethod{syspb.RebootMethod_UNKNOWN, syspb.RebootMethod_POWERUP} { req.Method = method _, err := sc.Reboot(ctx, req) testErr(err, codes.InvalidArgument, "reboot method is not supported.", t) @@ -336,4 +336,4 @@ func TestSystem(t *testing.T) { t.Fatalf("Invalid System Time %d", resp.Time) } }) -} \ No newline at end of file +}