Skip to content

Commit

Permalink
Fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rikatz committed Jul 3, 2023
1 parent 6ede105 commit 3b311f5
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion apis/v1beta1/vspherefailuredomain_webhook_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import (
"k8s.io/utils/pointer"
)

// nolint
func TestVsphereFailureDomain_Default(t *testing.T) {
tests := []struct {
name string
Expand Down
1 change: 0 additions & 1 deletion controllers/vspheredeploymentzone_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,6 @@ func TestVSphereDeploymentZone_Reconcile(t *testing.T) {
return conditions.IsFalse(vsphereDeploymentZone, infrav1.VSphereFailureDomainValidatedCondition) &&
conditions.GetReason(vsphereDeploymentZone, infrav1.VSphereFailureDomainValidatedCondition) == infrav1.NetworkNotFoundReason
}, timeout).Should(BeTrue())

})

t.Run("should create a deployment zone & failure domain with networkconfig", func(t *testing.T) {
Expand Down
1 change: 0 additions & 1 deletion pkg/services/vimmachine.go
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,6 @@ func (v *VimMachineService) generateOverrideFunc(ctx *context.VIMMachineContext)
for i := range vsphereFailureDomain.Spec.Topology.Networks {
networkConfigs[i].NetworkName = vsphereFailureDomain.Spec.Topology.Networks[i]
}

}

if len(networkConfigs) > 0 {
Expand Down

0 comments on commit 3b311f5

Please sign in to comment.