Fix version string in log (#5727)

This commit is contained in:
qwerty287
2025-11-07 08:04:30 +01:00
committed by GitHub
parent 4ab721b920
commit 6b7899ea51

View File

@@ -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) {