Skip to content

Commit

Permalink
Remove usage of deprecated packages (#987)
Browse files Browse the repository at this point in the history
sigs.k8s.io/controller-runtime/pkg/runtime/log is deprecated in favor of sigs.k8s.io/controller-runtime/pkg/log,
sigs.k8s.io/controller-runtime/pkg/runtime/scheme is deprecated in favor of sigs.k8s.io/controller-runtime/pkg/scheme.
  • Loading branch information
Jan Schlicht authored Oct 24, 2019
1 parent 83dc45e commit 88796d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions cmd/manager/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,12 @@ import (

_ "k8s.io/client-go/plugin/pkg/client/auth/gcp"
ctrl "sigs.k8s.io/controller-runtime"
logf "sigs.k8s.io/controller-runtime/pkg/runtime/log"
logf "sigs.k8s.io/controller-runtime/pkg/log"
"sigs.k8s.io/controller-runtime/pkg/log/zap"
)

func main() {
logf.SetLogger(logf.ZapLogger(false))
logf.SetLogger(zap.Logger(false))
log := logf.Log.WithName("entrypoint")

// Get version of KUDO
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/kudo/v1alpha1/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ package v1alpha1

import (
"k8s.io/apimachinery/pkg/runtime/schema"
"sigs.k8s.io/controller-runtime/pkg/runtime/scheme"
"sigs.k8s.io/controller-runtime/pkg/scheme"
)

var (
Expand Down

0 comments on commit 88796d3

Please sign in to comment.