diff --git a/api/v1alpha4/nutanixcluster_conversion.go b/api/v1alpha4/nutanixcluster_conversion.go index 9d010c1cb1..4d41dde6cc 100644 --- a/api/v1alpha4/nutanixcluster_conversion.go +++ b/api/v1alpha4/nutanixcluster_conversion.go @@ -19,6 +19,7 @@ package v1alpha4 import ( infrav1beta1 "github.com/nutanix-cloud-native/cluster-api-provider-nutanix/api/v1beta1" apiconversion "k8s.io/apimachinery/pkg/conversion" + //nolint:staticcheck capiv1alpha4 "sigs.k8s.io/cluster-api/api/v1alpha4" capiv1beta1 "sigs.k8s.io/cluster-api/api/v1beta1" "sigs.k8s.io/controller-runtime/pkg/conversion" diff --git a/api/v1alpha4/nutanixcluster_types.go b/api/v1alpha4/nutanixcluster_types.go index db621f296b..2137da1a22 100644 --- a/api/v1alpha4/nutanixcluster_types.go +++ b/api/v1alpha4/nutanixcluster_types.go @@ -19,6 +19,7 @@ package v1alpha4 import ( credentialTypes "github.com/nutanix-cloud-native/prism-go-client/environment/credentials" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + //nolint:staticcheck capiv1 "sigs.k8s.io/cluster-api/api/v1alpha4" "sigs.k8s.io/cluster-api/errors" ) diff --git a/api/v1alpha4/nutanixmachine_types.go b/api/v1alpha4/nutanixmachine_types.go index c46d86f948..657c9d24d9 100644 --- a/api/v1alpha4/nutanixmachine_types.go +++ b/api/v1alpha4/nutanixmachine_types.go @@ -20,6 +20,7 @@ import ( corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + //nolint:staticcheck capiv1 "sigs.k8s.io/cluster-api/api/v1alpha4" "sigs.k8s.io/cluster-api/errors" ) diff --git a/api/v1alpha4/nutanixmachinetemplate_conversion.go b/api/v1alpha4/nutanixmachinetemplate_conversion.go index 4342a60bd2..8f19430690 100644 --- a/api/v1alpha4/nutanixmachinetemplate_conversion.go +++ b/api/v1alpha4/nutanixmachinetemplate_conversion.go @@ -19,6 +19,7 @@ package v1alpha4 import ( infrav1beta1 "github.com/nutanix-cloud-native/cluster-api-provider-nutanix/api/v1beta1" apiconversion "k8s.io/apimachinery/pkg/conversion" + //nolint:staticcheck capiv1alpha4 "sigs.k8s.io/cluster-api/api/v1alpha4" capiv1beta1 "sigs.k8s.io/cluster-api/api/v1beta1" utilconversion "sigs.k8s.io/cluster-api/util/conversion" diff --git a/api/v1alpha4/nutanixmachinetemplate_types.go b/api/v1alpha4/nutanixmachinetemplate_types.go index 5584013389..2b42c1e387 100644 --- a/api/v1alpha4/nutanixmachinetemplate_types.go +++ b/api/v1alpha4/nutanixmachinetemplate_types.go @@ -18,6 +18,7 @@ package v1alpha4 import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + //nolint:staticcheck capiv1 "sigs.k8s.io/cluster-api/api/v1alpha4" ) diff --git a/api/v1alpha4/v1alpha4_test.go b/api/v1alpha4/v1alpha4_test.go index 8d7064c5bc..90c24c2cc6 100644 --- a/api/v1alpha4/v1alpha4_test.go +++ b/api/v1alpha4/v1alpha4_test.go @@ -7,6 +7,7 @@ import ( "github.com/nutanix-cloud-native/prism-go-client/utils" "github.com/stretchr/testify/assert" + //nolint:staticcheck "sigs.k8s.io/cluster-api/api/v1alpha4" )