fix: allow dynamic ports for API only in non-distributed setups (#18019)

fixes #17998
This commit is contained in:
Harshavardhana
2023-09-12 19:10:49 -07:00
committed by GitHub
parent 65939913b4
commit b1c2dacab3
3 changed files with 23 additions and 8 deletions

View File

@@ -402,6 +402,9 @@ var (
// Captures all batch jobs metrics globally
globalBatchJobsMetrics batchJobMetrics
// Indicates if server was started as `--address ":0"`
globalDynamicAPIPort bool
// Add new variable global values here.
)