Skip to content

Commit

Permalink
model/Task: use 1.0 for the version, clean up a TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
joelrebel committed Apr 26, 2024
1 parent 2c9c7e1 commit 6c6a76a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion internal/model/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const (
StateSucceeded = rctypes.Succeeded
StateFailed = rctypes.Failed

TaskVersion = "0.1"
TaskVersion = "1.0"
)

var (
Expand Down
1 change: 0 additions & 1 deletion internal/worker/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ func (h *ConditionTaskHandler) Handle(ctx context.Context, condition *rctypes.Co
return controller.ErrRetryHandler
}

// TODO: encrypt BMC credentials before store in prod
task.Asset = asset
task.FacilityCode = h.facilityCode
task.WorkerID = h.controllerID
Expand Down

0 comments on commit 6c6a76a

Please sign in to comment.