diff --git a/go.mod b/go.mod index 8ca587668e..e35aa03b25 100644 --- a/go.mod +++ b/go.mod @@ -94,7 +94,7 @@ require ( github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect github.com/Kong/go-diff v1.2.2 // indirect github.com/Kong/gojsondiff v1.3.2 // indirect - github.com/Kong/sdk-konnect-go v0.1.15 + github.com/Kong/sdk-konnect-go v0.1.18 github.com/MakeNowJust/heredoc v1.0.0 // indirect github.com/Masterminds/goutils v1.1.1 // indirect github.com/Masterminds/semver/v3 v3.3.0 // indirect diff --git a/go.sum b/go.sum index fd5d13029a..4688f176bf 100644 --- a/go.sum +++ b/go.sum @@ -20,8 +20,8 @@ github.com/Kong/go-diff v1.2.2 h1:KKKaqHc8IxuguFVIZMNt3bi6YuC/t9r7BGD8bOOpSgM= github.com/Kong/go-diff v1.2.2/go.mod h1:nlvdwVZQk3Rm+tbI0cDmKFrOjghtcZTrZBp+UruvvA8= github.com/Kong/gojsondiff v1.3.2 h1:qIOVq2mUXt+NXy8Be5gRUee9TP3Ve0MbQSafg9bXKZE= github.com/Kong/gojsondiff v1.3.2/go.mod h1:DiIxtU59q4alK7ecP+7k56C5UjgOviJ5gQVR2esEhYw= -github.com/Kong/sdk-konnect-go v0.1.15 h1:DO665UeuAVt3UNw5Yeo0I8eOQXkuE+3TyUvqc17Bz5Y= -github.com/Kong/sdk-konnect-go v0.1.15/go.mod h1:xsmTIkBbmVyUh1nRFjQMOhxYIPDl+sMfmRmPuZHtwLE= +github.com/Kong/sdk-konnect-go v0.1.18 h1:9ifPoIIozRBXqj4n4N8yTHmixfvHqjcakK9wF+A3/04= +github.com/Kong/sdk-konnect-go v0.1.18/go.mod h1:xsmTIkBbmVyUh1nRFjQMOhxYIPDl+sMfmRmPuZHtwLE= github.com/MakeNowJust/heredoc v1.0.0 h1:cXCdzVdstXyiTqTvfqk9SDHpKNjxuom+DOlyEeQ4pzQ= github.com/MakeNowJust/heredoc v1.0.0/go.mod h1:mG5amYoWBHf8vpLOuehzbGGw0EHxpZZ6lCpQ4fNJ8LE= github.com/Masterminds/goutils v1.1.1 h1:5nUrii3FMTL5diU80unEVvNevw1nH4+ZV4DSLVJLSYI= diff --git a/internal/konnect/config_synchronizer_test.go b/internal/konnect/config_synchronizer_test.go index fd70aa990c..1b939769c7 100644 --- a/internal/konnect/config_synchronizer_test.go +++ b/internal/konnect/config_synchronizer_test.go @@ -41,7 +41,7 @@ func TestConfigSynchronizer_UpdatesKongConfigAccordingly(t *testing.T) { ConfigUploadTicker: clock.NewTickerWithDuration(testSendConfigPeriod), KonnectClientFactory: &mocks.KonnectClientFactory{Client: testKonnectClient}, UpdateStrategyResolver: resolver, - ConfigChangeDetector: sendconfig.NewKongGatewayConfigurationChangeDetector(log), + ConfigChangeDetector: sendconfig.NewKonnectConfigurationChangeDetector(), ConfigStatusNotifier: configStatusNotifier, MetricsRecorder: &mocks.MetricsRecorder{}, }, @@ -141,7 +141,7 @@ func TestConfigSynchronizer_ConfigIsSanitizedWhenConfiguredSo(t *testing.T) { ConfigUploadTicker: clock.NewTickerWithDuration(testSendConfigPeriod), KonnectClientFactory: &mocks.KonnectClientFactory{Client: testKonnectClient}, UpdateStrategyResolver: resolver, - ConfigChangeDetector: sendconfig.NewKongGatewayConfigurationChangeDetector(log), + ConfigChangeDetector: sendconfig.NewKonnectConfigurationChangeDetector(), ConfigStatusNotifier: configStatusNotifier, MetricsRecorder: &mocks.MetricsRecorder{}, },