Skip to content

Commit

Permalink
Replace deprecated controller-runtime scheme package location
Browse files Browse the repository at this point in the history
Kubernetes controller-runtime dependency deprecated the old location
operator-framework/operator-sdk#1876

Replace import sigs.k8s.io/controller-runtime/pkg/runtime/scheme
with sigs.k8s.io/controller-runtime/pkg/scheme
  • Loading branch information
miguelsorianod committed Feb 28, 2020
1 parent 0e501c2 commit c728320
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/apis/apps/v1alpha1/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,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
2 changes: 1 addition & 1 deletion pkg/apis/capabilities/v1alpha1/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,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"
)

const (
Expand Down

0 comments on commit c728320

Please sign in to comment.