forked from vieter-v/vieter
chore: please the great lint
This commit is contained in:
parent
2cc3e8404e
commit
d7a04c6ebf
4 changed files with 9 additions and 2 deletions
|
|
@ -13,6 +13,8 @@ pub fn (c &Client) poll_jobs(arch string, max int) ![]BuildConfig {
|
|||
return data.data
|
||||
}
|
||||
|
||||
// queue_job adds a new one-time build job for the given target to the job
|
||||
// queue.
|
||||
pub fn (c &Client) queue_job(target_id int, arch string, force bool) !Response<string> {
|
||||
data := c.send_request<string>(.post, '/api/v1/jobs/queue', {
|
||||
'target': target_id.str()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue