Skip to content

Commit

Permalink
fix add missing import in the controller
Browse files Browse the repository at this point in the history
  • Loading branch information
camilamacedo86 committed Oct 25, 2019
1 parent fa6cbfb commit a07f5ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pkg/scaffold/v2/controller.go
Expand Up @@ -74,6 +74,7 @@ import (
ctrl "sigs.k8s.io/controller-runtime"
"sigs.k8s.io/controller-runtime/pkg/client"
"github.com/go-logr/logr"
"k8s.io/apimachinery/pkg/runtime"
{{ .Resource.GroupImportSafe }}{{ .Resource.Version }} "{{ .ResourcePackage }}/{{ .Resource.Version }}"
)
Expand Down
2 changes: 1 addition & 1 deletion testdata/project-v2/controllers/namespace_controller.go
Expand Up @@ -20,11 +20,11 @@ import (
"context"

"github.com/go-logr/logr"
"k8s.io/apimachinery/pkg/runtime"
ctrl "sigs.k8s.io/controller-runtime"
"sigs.k8s.io/controller-runtime/pkg/client"

corev1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/runtime"
)

// NamespaceReconciler reconciles a Namespace object
Expand Down

0 comments on commit a07f5ac

Please sign in to comment.