diff --git a/condition/firmware_install.go b/condition/firmware_install.go index 419afba..304080a 100644 --- a/condition/firmware_install.go +++ b/condition/firmware_install.go @@ -33,15 +33,6 @@ type FirmwareInstallTaskParameters struct { // if the host is not already powered off - the install task will be failed. RequireHostPoweredOff bool `json:"require_host_powered_off,omitempty"` - // Task priority is the task priority between 0 and 3 - // where 0 is the default and 3 is the max. - // - // Tasks are picked from the `queued` state based on the priority. - // - // When there are multiple tasks with the same priority, - // the task CreatedAt attribute is considered. - Priority int `json:"priority,omitempty"` - // Firmwares is the list of firmwares to be installed. Firmwares []Firmware `json:"firmwares,omitempty"` diff --git a/condition/types.go b/condition/types.go index 4565384..30c4872 100644 --- a/condition/types.go +++ b/condition/types.go @@ -21,7 +21,7 @@ const ( ConditionUpdateEvent events.EventType = "update" // ConditionStructVersion identifies the condition struct revision - ConditionStructVersion string = "1" + ConditionStructVersion string = "1.1" ) // State is the state value of a Condition @@ -136,11 +136,6 @@ type Condition struct { // Fault is used to introduce faults into the controller when executing on a condition. Fault *Fault `json:"fault,omitempty"` - // ResourceVersion has to be set to the value received by the - // client updating it, this it to make sure condition updates - // occur in the expected order. - ResourceVersion int64 `json:"resourceVersion"` - // UpdatedAt is when this object was last updated. UpdatedAt time.Time `json:"updatedAt,omitempty"`