Skip to content

Commit 19c144b

Browse files
author
Christian Bianchi
authored
Add omitempty to AzureMachinePool/Status/Instances
1 parent 8946088 commit 19c144b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exp/api/v1alpha3/azuremachinepool_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ type (
125125

126126
// Instances is the VM instance status for each VM in the VMSS
127127
// +optional
128-
Instances []*AzureMachinePoolInstanceStatus `json:"instances"`
128+
Instances []*AzureMachinePoolInstanceStatus `json:"instances,omitempty"`
129129

130130
// Version is the Kubernetes version for the current VMSS model
131131
// +optional

0 commit comments

Comments
 (0)