| 1 |
--- a/job.go |
| 2 |
+++ b/job.go |
| 3 |
@@ -6,12 +6,8 @@ |
| 4 |
"net/url" |
| 5 |
"os" |
| 6 |
"regexp" |
| 7 |
- "strconv" |
| 8 |
"strings" |
| 9 |
"time" |
| 10 |
- "crypto/rsa" |
| 11 |
- "crypto/x509" |
| 12 |
- "encoding/pem" |
| 13 |
|
| 14 |
"github.com/cenkalti/backoff" |
| 15 |
"github.com/go-kit/log" |
| 16 |
@@ -23,7 +19,6 @@ |
| 17 |
_ "github.com/microsoft/go-mssqldb" // register the MS-SQL driver |
| 18 |
_ "github.com/microsoft/go-mssqldb/integratedauth/krb5" // Register integrated auth for MS-SQL |
| 19 |
"github.com/prometheus/client_golang/prometheus" |
| 20 |
- "github.com/snowflakedb/gosnowflake" |
| 21 |
sqladmin "google.golang.org/api/sqladmin/v1beta4" |
| 22 |
|
| 23 |
"github.com/aws/aws-sdk-go/aws/session" |
| 24 |
@@ -394,6 +389,7 @@ |
| 25 |
} |
| 26 |
} |
| 27 |
*/ |
| 28 |
+ /* |
| 29 |
if newConn.driver == "snowflake" { |
| 30 |
u, err := url.Parse(conn) |
| 31 |
if err != nil { |
| 32 |
@@ -476,7 +472,7 @@ |
| 33 |
j.conns = append(j.conns, newConn) |
| 34 |
continue |
| 35 |
} |
| 36 |
- |
| 37 |
+ */ |
| 38 |
j.conns = append(j.conns, newConn) |
| 39 |
} |
| 40 |
} |
| 41 |
--- a/config.go |
| 42 |
+++ b/config.go |
| 43 |
@@ -15,7 +15,6 @@ |
| 44 |
"github.com/prometheus/client_golang/prometheus" |
| 45 |
"github.com/prometheus/client_golang/prometheus/promauto" |
| 46 |
"github.com/robfig/cron/v3" |
| 47 |
- "github.com/snowflakedb/gosnowflake" |
| 48 |
"gopkg.in/yaml.v2" |
| 49 |
) |
| 50 |
|
| 51 |
@@ -165,7 +164,7 @@ |
| 52 |
user string |
| 53 |
tokenExpirationTime time.Time |
| 54 |
iteratorValues []string |
| 55 |
- snowflakeConfig *gosnowflake.Config |
| 56 |
+// snowflakeConfig *gosnowflake.Config |
| 57 |
snowflakeDSN string |
| 58 |
} |
| 59 |
|