Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-pbulawa committed Dec 4, 2023
1 parent 3f9a1aa commit 7f670a2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions connection_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 7f670a2

Please sign in to comment.