Skip to content

Commit

Permalink
attempt at fixing stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
hrak committed Aug 16, 2024
1 parent 56fd2f5 commit 42269a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func GetOwnerClusterName(obj metav1.ObjectMeta) (string, error) {

// CloudStackClusterToCloudStackMachines is a handler.ToRequestsFunc to be used to enqueue requests for reconciliation
// of CloudStackMachines.
func CloudStackClusterToCloudStackMachines(c client.Client, obj client.ObjectList, scheme *runtime.Scheme, log logr.Logger) (handler.MapFunc, error) {
func CloudStackClusterToCloudStackMachines(c client.Client, obj runtime.Object, scheme *runtime.Scheme, log logr.Logger) (handler.MapFunc, error) {
gvk, err := apiutil.GVKForObject(obj, scheme)
if err != nil {
return nil, errors.Wrap(err, "failed to find GVK for CloudStackMachine")
Expand Down Expand Up @@ -215,7 +215,7 @@ func CloudStackClusterToCloudStackIsolatedNetworks(c client.Client, obj client.O

// CloudStackIsolatedNetworkToControlPlaneCloudStackMachines is a handler.ToRequestsFunc to be used to enqueue requests for reconciliation
// of CloudStackMachines that are part of the control plane.
func CloudStackIsolatedNetworkToControlPlaneCloudStackMachines(c client.Client, obj client.ObjectList, scheme *runtime.Scheme, log logr.Logger) (handler.MapFunc, error) {
func CloudStackIsolatedNetworkToControlPlaneCloudStackMachines(c client.Client, obj runtime.Object, scheme *runtime.Scheme, log logr.Logger) (handler.MapFunc, error) {
gvk, err := apiutil.GVKForObject(obj, scheme)
if err != nil {
return nil, errors.Wrap(err, "failed to find GVK for CloudStackMachine")
Expand Down

0 comments on commit 42269a2

Please sign in to comment.