Skip to content

Commit 3a03350

Browse files
author
Joshua Reed
committed
Remove extra zoneid status field.
1 parent ed187d0 commit 3a03350

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

api/v1beta2/cloudstackmachine_types.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,6 @@ type CloudStackResourceDiskOffering struct {
111111

112112
// Type pulled mostly from the CloudStack API.
113113
type CloudStackMachineStatus struct {
114-
// Zone ID is used so that the zone can be computed once per reconcile and then propagate.
115-
// +optional
116-
ZoneID string `json:"zoneID"`
117-
118114
// Addresses contains a CloudStack VM instance's IP addresses.
119115
Addresses []corev1.NodeAddress `json:"addresses"`
120116

pkg/cloud/affinity_groups_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ var _ = Describe("AffinityGroup Unit Tests", func() {
7575

7676
It("Associates an affinity group.", func() {
7777
Ω(client.ResolveZone(&dummies.CSFailureDomain1.Spec.Zone)).Should(Succeed())
78-
dummies.CSMachine1.Status.ZoneID = dummies.Zone1.ID
7978
dummies.CSMachine1.Spec.DiskOffering.Name = ""
8079

8180
Ω(client.GetOrCreateVMInstance(

0 commit comments

Comments
 (0)