From 7f670a2f6f1ef18ee6b3931b91be8792e4049ca0 Mon Sep 17 00:00:00 2001 From: Piotr Bulawa Date: Mon, 4 Dec 2023 14:00:20 +0100 Subject: [PATCH] lint --- connection_util.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/connection_util.go b/connection_util.go index af19e73f4..54390522a 100644 --- a/connection_util.go +++ b/connection_util.go @@ -302,8 +302,5 @@ func (sc *snowflakeConn) setupOCSPPrivatelink(app string, host string) error { func isStatementContext(ctx context.Context) bool { v := ctx.Value(executionType) - if v == executionTypeStatement { - return true - } - return false + return v == executionTypeStatement }