From bf43ddf81a81db8c7fa36a92cc63612bc3e14f1c Mon Sep 17 00:00:00 2001 From: hjoshi123 Date: Thu, 20 Mar 2025 09:35:39 -0600 Subject: [PATCH] added warn log --- source/node_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/node_test.go b/source/node_test.go index ba2884f54..b454c9111 100644 --- a/source/node_test.go +++ b/source/node_test.go @@ -487,9 +487,9 @@ func testNodeEndpointsWithIPv6(t *testing.T) { require.NoError(t, err) if tc.exposeInternalIPv6 { - buf := testutils.LogsToBuffer(log.DebugLevel, t) - warningMsg := "WARNING: The default behavior of exposing internal IPv6 addresses will change in the next minor version. Use --expose-internal-ipv6=false flag to opt-in to the new behavior." - log.Debug(warningMsg) + buf := testutils.LogsToBuffer(log.WarnLevel, t) + warningMsg := "The default behavior of exposing internal IPv6 addresses will change in the next minor version. Use --expose-internal-ipv6=false flag to opt-in to the new behavior." + log.Warn(warningMsg) assert.Contains(t, buf.String(), warningMsg) }