1
0
mirror of https://gitea.com/gitea/act_runner synced 2024-11-13 18:25:50 +01:00
act_runner/internal/app
Bo-Yi Wu cf92a979e2 refactor(register): refactor registration functions and improve logging (#288)
- Remove the else clause in the `registerInteractive` function, and unconditionally log "Runner registered successfully."
- Change the return value in the `doRegister` function from `nil` to `ctx.Err()`.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

Reviewed-on: https://gitea.com/gitea/act_runner/pulls/288
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Co-committed-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2023-07-12 14:12:16 +00:00
..
cmd refactor(register): refactor registration functions and improve logging (#288) 2023-07-12 14:12:16 +00:00
poll Fix panic when response is nil (#105) 2023-04-06 21:51:46 +08:00
run Run as cache server (#275) 2023-07-07 08:28:54 +00:00