mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-09-15 18:57:01 +00:00
chore: load config from env file
This commit is contained in:
parent
5213612033
commit
aa9ed05903
5 changed files with 79 additions and 2 deletions
|
@ -127,9 +127,8 @@ func handleMessage(ctx context.Context, conn *websocket.Conn, message []byte) er
|
|||
}
|
||||
|
||||
func runDaemon(ctx context.Context, input *Input) func(cmd *cobra.Command, args []string) error {
|
||||
log.Info().Msgf("Starting runner daemon")
|
||||
|
||||
return func(cmd *cobra.Command, args []string) error {
|
||||
log.Info().Msg("Starting runner daemon")
|
||||
var conn *websocket.Conn
|
||||
var err error
|
||||
ticker := time.NewTicker(time.Second)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue