Skip to content

Commit

Permalink
Fix build ops
Browse files Browse the repository at this point in the history
  • Loading branch information
victorges committed Sep 23, 2022
1 parent 1608f54 commit 4934120
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api.go
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,7 @@ func (lapi *Client) GetTask(id string) (*Task, error) {
return &task, nil
}

func (lapi *Client) UpdateTaskStatus(id string, phase string, progress float64) error {
func (lapi *Client) UpdateTaskStatus(id string, phase TaskPhase, progress float64) error {
var (
url = fmt.Sprintf("%s/api/task/%s/status", lapi.chosenServer, id)
input = &updateTaskProgressRequest{Status: TaskStatus{phase, progress, 0, 0, ""}}
Expand Down

0 comments on commit 4934120

Please sign in to comment.