Minor environment / org_id name changes
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
# Default execution environment for workers
|
||||
ORG_ID=Shuffle
|
||||
ENVIRONMENT_NAME=Shuffle
|
||||
|
||||
# Sanitize liquid.py input
|
||||
|
||||
@@ -638,7 +638,7 @@ func handleRegister(resp http.ResponseWriter, request *http.Request) {
|
||||
} else {
|
||||
log.Printf("[DEBUG] Successfully created the default org!")
|
||||
|
||||
defaultEnv := os.Getenv("ORG_ID")
|
||||
defaultEnv := os.Getenv("ENVIRONMENT_NAME")
|
||||
if len(defaultEnv) == 0 {
|
||||
defaultEnv = "Shuffle"
|
||||
log.Printf("[DEBUG] Setting default environment for org to %s", defaultEnv)
|
||||
@@ -3925,7 +3925,7 @@ func runInitEs(ctx context.Context) {
|
||||
log.Printf("[INFO] Running with HTTPS proxy %s (env: HTTPS_PROXY)", httpsProxy)
|
||||
}
|
||||
|
||||
defaultEnv := os.Getenv("ORG_ID")
|
||||
defaultEnv := os.Getenv("ENVIRONMENT_NAME")
|
||||
if len(defaultEnv) == 0 {
|
||||
defaultEnv = "Shuffle"
|
||||
log.Printf("[DEBUG] Setting default environment for org to %s", defaultEnv)
|
||||
|
||||
@@ -292,6 +292,8 @@ func handleGetWorkflowqueue(resp http.ResponseWriter, request *http.Request) {
|
||||
log.Printf("[WARNING] Failed handling Orborus failover: %s", err)
|
||||
}
|
||||
|
||||
log.Printf("[DEBUG] Issue with environment ID: %s", orgId)
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user