chore: normalize load timestamps and mark local test credentials
This commit is contained in:
1 parent
b3146e0862
commit
8a13257a6e
2 files changed
+3
-1
No files matched your search
@@ -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}
|
||||||
|
|||||||
@@ -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(),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user