mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-02-13 21:00:00 +00:00
Fix version string in log (#5727)
This commit is contained in:
@@ -65,7 +65,7 @@ var (
|
||||
)
|
||||
|
||||
func run(ctx context.Context, c *cli.Command, backends []types.Backend) error {
|
||||
log.Info().Str("version", version.Version).Msg("Starting Woodpecker agent")
|
||||
log.Info().Str("version", version.String()).Msg("Starting Woodpecker agent")
|
||||
|
||||
agentCtx, ctxCancel := context.WithCancelCause(ctx)
|
||||
stopAgentFunc = func(err error) {
|
||||
|
||||
Reference in New Issue
Block a user