File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11package controllers
22
33import (
4- oadpApi "github.com/openshift/oadp-operator/api/v1alpha1"
4+ oadpv1alpha1 "github.com/openshift/oadp-operator/api/v1alpha1"
55 "k8s.io/apimachinery/pkg/runtime"
66 "sigs.k8s.io/controller-runtime/pkg/client"
77 "sigs.k8s.io/controller-runtime/pkg/event"
@@ -40,8 +40,8 @@ func isObjectOurs(scheme *runtime.Scheme, object client.Object) bool {
4040 return false
4141 }
4242 gvk := objGVKs [0 ]
43- if gvk .Group == oadpApi .GroupVersion .Group && gvk .Version == oadpApi .GroupVersion .Version && gvk .Kind == oadpApi .Kind {
43+ if gvk .Group == oadpv1alpha1 .GroupVersion .Group && gvk .Version == oadpv1alpha1 .GroupVersion .Version && gvk .Kind == oadpv1alpha1 .Kind {
4444 return true
4545 }
46- return object .GetLabels ()[oadpApi .OadpOperatorLabel ] != ""
46+ return object .GetLabels ()[oadpv1alpha1 .OadpOperatorLabel ] != ""
4747}
You can’t perform that action at this time.
0 commit comments