chore: normalize load timestamps and mark local test credentials

This commit is contained in:
Noel Sabia committed 2026-11-14 06:44:44 +01:00
1 parent b3146e0862
commit 8a13257a6e
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -24,6 +24,8 @@ API_URL="http://127.0.0.1:${GO_PORT}"
ML_URL="http://127.0.0.1:${ML_PORT}" ML_URL="http://127.0.0.1:${ML_PORT}"
CONTROL_USER=${CONTROL_USER:-control} CONTROL_USER=${CONTROL_USER:-control}
# Local test values only; override both in any shared environment. The API
# itself has no credential defaults and fails closed when they are unset.
CONTROL_PASS=${CONTROL_PASS:-pulsecast-dev-pass} CONTROL_PASS=${CONTROL_PASS:-pulsecast-dev-pass}
CONTROL_TOKEN=${CONTROL_TOKEN:-pulsecast-control-token} CONTROL_TOKEN=${CONTROL_TOKEN:-pulsecast-control-token}
BOOTSTRAP_REFRESH=${BOOTSTRAP_REFRESH:-10s} BOOTSTRAP_REFRESH=${BOOTSTRAP_REFRESH:-10s}
+1 -1
View File
@@ -452,7 +452,7 @@ func runChanges(ctx context.Context, base, user, pass string, every time.Duratio
} }
result := changeResult{ result := changeResult{
Version: version, Version: version,
PostAt: postAt, PostAt: postAt.UTC(),
Connected: rec.connectedNow(), Connected: rec.connectedNow(),
} }