act_runner/internal/app/cmd
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
..
cache-server.go Run as cache server (#275) 2023-07-07 08:28:54 +00:00
cmd.go Run as cache server (#275) 2023-07-07 08:28:54 +00:00
daemon.go Add support for finding docker daemon from common socket paths (#263) 2023-07-01 01:27:54 +00:00
exec.go Revert supporting multiple default actions URLs and use github for exec by default (#262) 2023-06-30 07:53:18 +00:00
register.go refactor(register): refactor registration functions and improve logging (#288) 2023-07-12 14:12:16 +00:00