From e759f2a92ed2ed9679eeaa11110c052194c6122f Mon Sep 17 00:00:00 2001 From: Prabhjot Singh Sethi Date: Tue, 27 May 2025 16:00:12 +0000 Subject: [PATCH] Fix lint error Signed-off-by: Prabhjot Singh Sethi --- auth/auth_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/auth_test.go b/auth/auth_test.go index ae23b12..50a49c0 100644 --- a/auth/auth_test.go +++ b/auth/auth_test.go @@ -20,7 +20,7 @@ func Test_ErrorValidations(t *testing.T) { FullName: "Test Admin", SessionID: "abc", } - SetAuthInfoHeader(r, info) + _ = SetAuthInfoHeader(r, info) fmt.Printf("Got - Encoded Auth Info: %s\n", r.Header[HttpClientAuthContext][0]) if r.Header[HttpClientAuthContext][0] != "eyJyZWFsbSI6InJvb3QiLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJhZG1pbiIsImVtYWlsIjoiYWRtaW5AZXhhbXBsZS5jb20iLCJuYW1lIjoiVGVzdCBBZG1pbiIsInNpZCI6ImFiYyJ9" { t.Errorf("failed to set the auth info in the header, found invalid value in header")