Skip to content

Commit 31ea9f2

Browse files
authored
Merge pull request #191 from wanyufe/main
fix bug of orphaned CS machine
2 parents ea48080 + bab1b90 commit 31ea9f2

File tree

6 files changed

+906
-13
lines changed

6 files changed

+906
-13
lines changed

api/v1beta2/cloudstackmachine_types.go

+8
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,14 @@ type CloudStackMachineStatus struct {
125125

126126
// Ready indicates the readiness of the provider resource.
127127
Ready bool `json:"ready"`
128+
129+
// Status indicates the status of the provider resource.
130+
// +optional
131+
Status *string `json:"status,omitempty"`
132+
133+
// Reason indicates the reason of status failure
134+
// +optional
135+
Reason *string `json:"reason,omitempty"`
128136
}
129137

130138
// TimeSinceLastStateChange returns the amount of time that's elapsed since the state was last updated. If the state

0 commit comments

Comments
 (0)