Skip to content

Commit

Permalink
Revert apply func
Browse files Browse the repository at this point in the history
this part dep on library-go so remove from
sdk-go

Signed-off-by: Jian Qiu <jqiu@redhat.com>
  • Loading branch information
qiujian16 committed Jan 22, 2024
1 parent bede3ed commit 0a7c2fa
Show file tree
Hide file tree
Showing 64 changed files with 482 additions and 77 deletions.
2 changes: 1 addition & 1 deletion pkg/addon/controllers/addonowner/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
addonapiv1alpha1 "open-cluster-management.io/api/addon/v1alpha1"
fakeaddon "open-cluster-management.io/api/client/addon/clientset/versioned/fake"
addoninformers "open-cluster-management.io/api/client/addon/informers/externalversions"
testingcommon "open-cluster-management.io/sdk-go/pkg/testing"
testingcommon "open-cluster-management.io/ocm/pkg/common/testing"
)

func newClusterManagementOwner(name string) metav1.OwnerReference {
Expand Down
2 changes: 1 addition & 1 deletion pkg/addon/controllers/addonprogressing/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
fakework "open-cluster-management.io/api/client/work/clientset/versioned/fake"
workinformers "open-cluster-management.io/api/client/work/informers/externalversions"
workapiv1 "open-cluster-management.io/api/work/v1"
testingcommon "open-cluster-management.io/sdk-go/pkg/testing"
testingcommon "open-cluster-management.io/ocm/pkg/common/testing"
)

func TestReconcile(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/addon/controllers/addontemplate/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
clusterv1informers "open-cluster-management.io/api/client/cluster/informers/externalversions"
fakework "open-cluster-management.io/api/client/work/clientset/versioned/fake"
workinformers "open-cluster-management.io/api/client/work/informers/externalversions"
testingcommon "open-cluster-management.io/sdk-go/pkg/testing"
testingcommon "open-cluster-management.io/ocm/pkg/common/testing"
)

func TestReconcile(t *testing.T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
addonapiv1alpha1 "open-cluster-management.io/api/addon/v1alpha1"
fakeaddon "open-cluster-management.io/api/client/addon/clientset/versioned/fake"
addoninformers "open-cluster-management.io/api/client/addon/informers/externalversions"
testingcommon "open-cluster-management.io/sdk-go/pkg/testing"
testingcommon "open-cluster-management.io/ocm/pkg/common/testing"
)

func TestReconcile(t *testing.T) {
Expand Down
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 0a7c2fa

Please sign in to comment.