Skip to content

Commit

Permalink
now using infrav1 instead of kubebuilder default for latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
deepakm-ntnx committed Jan 3, 2024
1 parent e93fdd1 commit 791addc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ import (
"sigs.k8s.io/controller-runtime/pkg/log/zap"

infrav1alpha4 "github.com/nutanix-cloud-native/cluster-api-provider-nutanix/api/v1alpha4"
infrastructurev1beta1 "github.com/nutanix-cloud-native/cluster-api-provider-nutanix/api/v1beta1"
infrav1 "github.com/nutanix-cloud-native/cluster-api-provider-nutanix/api/v1beta1"
"github.com/nutanix-cloud-native/cluster-api-provider-nutanix/controllers"
//+kubebuilder:scaffold:imports
)
Expand All @@ -66,7 +66,7 @@ func init() {
utilruntime.Must(bootstrapv1.AddToScheme(scheme))

utilruntime.Must(infrav1alpha4.AddToScheme(scheme))
utilruntime.Must(infrastructurev1beta1.AddToScheme(scheme))
utilruntime.Must(infrav1.AddToScheme(scheme))

//+kubebuilder:scaffold:scheme
}
Expand Down

0 comments on commit 791addc

Please sign in to comment.