Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Okhlopkov <[email protected]>
  • Loading branch information
Pavel Okhlopkov committed Nov 2, 2024
1 parent 1c33c43 commit 22152cc
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"

"github.com/deckhouse/deckhouse/pkg/log"
"github.com/flant/shell-operator/pkg/app"
"github.com/flant/shell-operator/pkg/kube_events_manager"
. "github.com/flant/shell-operator/pkg/kube_events_manager/types"
Expand All @@ -26,7 +27,7 @@ var _ = Describe("Binding 'kubernetes' with kind 'Pod' should emit KubeEvent obj
var KubeEventsManager kube_events_manager.KubeEventsManager

BeforeEach(func() {
KubeEventsManager = kube_events_manager.NewKubeEventsManager(context.Background(), KubeClient)
KubeEventsManager = kube_events_manager.NewKubeEventsManager(context.Background(), KubeClient, log.NewNop())
})

Context("with configVersion: v1", func() {
Expand Down Expand Up @@ -67,7 +68,7 @@ var _ = Describe("Binding 'kubernetes' with kind 'Pod' should emit KubeEvent obj

When("Pod is Added", func() {
JustBeforeEach(func() {
app.SetupLogging(nil)
app.SetupLogging(nil, log.NewNop())

// Unlock KubeEvent emitting.
m := KubeEventsManager.GetMonitor(monitorConfig.Metadata.MonitorId)
Expand Down

0 comments on commit 22152cc

Please sign in to comment.