INNER CODE UNIT · Go

usage

LerianStudio/midaz · components/tracer/cmd/migrate-cel-rules/main.go:64

func usage() {
	fmt.Fprint(flag.CommandLine.Output(),
		`migrate-cel-rules — one-shot "000023" stored CEL rule migration (currency -> asset).

Usage:
  migrate-cel-rules [--up]     apply the rewrite (default)
  migrate-cel-rules --down     refuse (irreversible) and exit non-zero

SINGLE-TENANT ONLY: this job has no per-tenant fan-out. It refuses to run under
MULTI_TENANT_ENABLED=true and exits non-zero. Per-tenant execution is a follow-up.

Rollout is STOP-THE-WORLD / DRAINED: there is no currency->asset alias, so the
CEL env variable and the stored rules must both be asset before any instance
serves traffic. Configuration and the database connection are read from the
same environment variables as the tracer service.

Flags:
`)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…