Skip to content

Commit

Permalink
Fix: configuration Variable in Workflow drift (#874)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomerHeber committed Jun 14, 2024
1 parent 188c0ad commit a98efd7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions client/configuration_variable.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,7 @@ func (client *ApiClient) ConfigurationVariablesByScope(scope Scope, scopeId stri
case scope == ScopeDeploymentLog:
params["deploymentLogId"] = scopeId
case scope == ScopeWorkflow:
params["environmentId"] = scopeId // temporary mitigation
scope = ScopeEnvironment // temporary mitigation
params["environmentId"] = scopeId
params["workflowEnvironmentId"] = scopeId
}
err = client.http.Get("/configuration", params, &result)
Expand Down

0 comments on commit a98efd7

Please sign in to comment.