Skip to content

Add validations and unit tests

Codecov / codecov/patch succeeded Jun 6, 2024 in 1s

80.00% of diff hit (target 80.00%)

View this Pull Request on Codecov

80.00% of diff hit (target 80.00%)

Annotations

Check warning on line 174 in pkg/api/v1alpha1/nutanixdatacenterconfig_types.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/api/v1alpha1/nutanixdatacenterconfig_types.go#L174

Added line #L174 was not covered by tests

Check warning on line 191 in pkg/api/v1alpha1/nutanixdatacenterconfig_types.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/api/v1alpha1/nutanixdatacenterconfig_types.go#L191

Added line #L191 was not covered by tests

Check warning on line 195 in pkg/api/v1alpha1/nutanixdatacenterconfig_types.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/api/v1alpha1/nutanixdatacenterconfig_types.go#L195

Added line #L195 was not covered by tests

Check warning on line 233 in pkg/providers/nutanix/provider.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/providers/nutanix/provider.go#L233

Added line #L233 was not covered by tests

Check warning on line 237 in pkg/providers/nutanix/provider.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/providers/nutanix/provider.go#L237

Added line #L237 was not covered by tests

Check warning on line 140 in pkg/providers/nutanix/validator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/providers/nutanix/validator.go#L140

Added line #L140 was not covered by tests