Skip to content

Commit

Permalink
fix: add cluster API to the scheme in related controllers (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelawyu committed Sep 19, 2023
1 parent 8d48096 commit 4f4e9a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmd/mcs-controller-manager/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ func init() {
utilruntime.Must(clientgoscheme.AddToScheme(scheme))
utilruntime.Must(fleetnetv1alpha1.AddToScheme(scheme))
utilruntime.Must(fleetv1alpha1.AddToScheme(scheme))
utilruntime.Must(clusterv1beta1.AddToScheme(scheme))

//+kubebuilder:scaffold:scheme
}
Expand Down
1 change: 1 addition & 0 deletions cmd/member-net-controller-manager/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ func init() {
utilruntime.Must(clientgoscheme.AddToScheme(scheme))
utilruntime.Must(fleetnetv1alpha1.AddToScheme(scheme))
utilruntime.Must(fleetv1alpha1.AddToScheme(scheme))
utilruntime.Must(clusterv1beta1.AddToScheme(scheme))

//+kubebuilder:scaffold:scheme
}
Expand Down

0 comments on commit 4f4e9a4

Please sign in to comment.