Skip to content

Commit

Permalink
Squash some remaining references to runtime/log
Browse files Browse the repository at this point in the history
This squashes some remaining references to runtime/log, which would have
forced pulling in Zap.
  • Loading branch information
DirectXMan12 committed Feb 27, 2019
1 parent 58a08d8 commit 017711e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pkg/envtest/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ import (
"sigs.k8s.io/controller-runtime/pkg/client/config"
"sigs.k8s.io/testing_frameworks/integration"

logf "sigs.k8s.io/controller-runtime/pkg/runtime/log"
logf "sigs.k8s.io/controller-runtime/pkg/internal/log"
)

var log = logf.KBLog.WithName("test-env")
var log = logf.RuntimeLog.WithName("test-env")

// Default binary path for test framework
const (
Expand Down
2 changes: 1 addition & 1 deletion pkg/webhook/webhook_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"k8s.io/client-go/rest"
"sigs.k8s.io/controller-runtime/pkg/envtest"
"sigs.k8s.io/controller-runtime/pkg/log/zap"
logf "sigs.k8s.io/controller-runtime/pkg/runtime/log"
logf "sigs.k8s.io/controller-runtime/pkg/log"
)

func TestSource(t *testing.T) {
Expand Down

0 comments on commit 017711e

Please sign in to comment.