Skip to content

Commit

Permalink
fix manager adding custerv1 schema types
Browse files Browse the repository at this point in the history
The types.Machine or Cluster from v1alpha3 where not right registered to
the manager
  • Loading branch information
Gianluca Arbezzano committed May 5, 2020
1 parent 7771d02 commit ab06c61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import (

infrastructurev1alpha3 "github.com/packethost/cluster-api-provider-packet/api/v1alpha3"
"github.com/packethost/cluster-api-provider-packet/controllers"
clusterv1 "sigs.k8s.io/cluster-api/api/v1alpha3"
// +kubebuilder:scaffold:imports
)

Expand All @@ -40,8 +41,8 @@ var (

func init() {
_ = clientgoscheme.AddToScheme(scheme)

_ = infrastructurev1alpha3.AddToScheme(scheme)
_ = clusterv1.AddToScheme(scheme)
// +kubebuilder:scaffold:scheme
}

Expand Down

0 comments on commit ab06c61

Please sign in to comment.