Skip to content

Commit 5cdc44b

Browse files
committed
Update driver
Signed-off-by: Rick Brouwer <[email protected]>
1 parent 1fc3928 commit 5cdc44b

File tree

113 files changed

+68862
-65546
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+68862
-65546
lines changed

go.mod

+2-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ require (
4242
github.com/beanstalkd/go-beanstalk v0.2.0
4343
github.com/bradleyfalzon/ghinstallation/v2 v2.14.0
4444
github.com/cloudevents/sdk-go/v2 v2.16.0
45-
github.com/denisenkom/go-mssqldb v0.12.3
4645
github.com/dysnix/predictkube-libs v0.0.4-0.20230109175007-5a82fccd31c7
4746
github.com/dysnix/predictkube-proto v0.0.0-20241017230806-4c74c627f2bb
4847
github.com/elastic/go-elasticsearch/v7 v7.17.10
@@ -128,6 +127,8 @@ require (
128127
sigs.k8s.io/kustomize/kustomize/v5 v5.6.0
129128
)
130129

130+
require github.com/microsoft/go-mssqldb v1.8.0 // indirect
131+
131132
replace (
132133
// we need a version with a proper license
133134
github.com/chzyer/logex => github.com/chzyer/logex v1.2.1

go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -894,8 +894,6 @@ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs
894894
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
895895
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
896896
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
897-
github.com/denisenkom/go-mssqldb v0.12.3 h1:pBSGx9Tq67pBOTLmxNuirNTeB8Vjmf886Kx+8Y+8shw=
898-
github.com/denisenkom/go-mssqldb v0.12.3/go.mod h1:k0mtMFOnU+AihqFxPMiF05rtiDrorD1Vrm1KEz5hxDo=
899897
github.com/dennwc/varint v1.0.0 h1:kGNFFSSw8ToIy3obO/kKr8U9GZYUAxQEVuix4zfDWzE=
900898
github.com/dennwc/varint v1.0.0/go.mod h1:hnItb35rvZvJrbTALZtY/iQfDs48JKRG1RPpgziApxA=
901899
github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ=
@@ -1395,6 +1393,8 @@ github.com/microsoft/ApplicationInsights-Go v0.4.4 h1:G4+H9WNs6ygSCe6sUyxRc2U81T
13951393
github.com/microsoft/ApplicationInsights-Go v0.4.4/go.mod h1:fKRUseBqkw6bDiXTs3ESTiU/4YTIHsQS4W3fP2ieF4U=
13961394
github.com/microsoft/azure-devops-go-api/azuredevops v1.0.0-b5 h1:YH424zrwLTlyHSH/GzLMJeu5zhYVZSx5RQxGKm1h96s=
13971395
github.com/microsoft/azure-devops-go-api/azuredevops v1.0.0-b5/go.mod h1:PoGiBqKSQK1vIfQ+yVaFcGjDySHvym6FM1cNYnwzbrY=
1396+
github.com/microsoft/go-mssqldb v1.8.0 h1:7cyZ/AT7ycDsEoWPIXibd+aVKFtteUNhDGf3aobP+tw=
1397+
github.com/microsoft/go-mssqldb v1.8.0/go.mod h1:6znkekS3T2vp0waiMhen4GPU1BiAsrP+iXHcE7a7rFo=
13981398
github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg=
13991399
github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8/go.mod h1:mC1jAcsrzbxHt8iiaC+zU4b1ylILSosueou12R++wfY=
14001400
github.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3/go.mod h1:RagcQ7I8IeTMnF8JTXieKnO4Z6JCsikNEzj0DwauVzE=

pkg/scalers/mssql_scaler.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import (
77
"net"
88
"net/url"
99

10-
// mssql driver required for this scaler
11-
_ "github.com/denisenkom/go-mssqldb"
1210
"github.com/go-logr/logr"
11+
// Import the MS SQL driver so it can register itself with database/sql
12+
_ "github.com/microsoft/go-mssqldb"
1313
v2 "k8s.io/api/autoscaling/v2"
1414
"k8s.io/metrics/pkg/apis/external_metrics"
1515

vendor/github.com/denisenkom/go-mssqldb/appveyor.yml

-69
This file was deleted.

vendor/github.com/denisenkom/go-mssqldb/internal/cp/cp1250.go

-262
This file was deleted.

0 commit comments

Comments
 (0)