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 19, 2020
1 parent abd6727 commit 7a5b9af
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 7a5b9af

Please sign in to comment.