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 }