Skip to content

Commit ade9e44

Browse files
author
Mustafa Sadedil
committed
Whitespace fix 3
1 parent 1d64388 commit ade9e44

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

job.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -651,21 +651,21 @@ func (c *connection) connect(job *Job) error {
651651
}
652652
c.tokenExpirationTime = time.Now().Add(time.Hour)
653653
}
654-
654+
655655
db, err := sqlx.Open("snowflake", c.snowflakeDSN)
656656
if err != nil {
657657
return fmt.Errorf("failed to open Snowflake connection: %w (host: %s)", err, c.host)
658658
}
659-
659+
660660
db.SetMaxOpenConns(1)
661661
db.SetMaxIdleConns(0)
662662
db.SetConnMaxLifetime(30 * time.Minute)
663-
663+
664664
if err := db.Ping(); err != nil {
665665
db.Close()
666666
return fmt.Errorf("failed to ping Snowflake: %w (host: %s)", err, c.host)
667667
}
668-
668+
669669
c.conn = db
670670
return nil
671671
}

0 commit comments

Comments
 (0)