Skip to content

Commit

Permalink
Fix the issue for worker_pool_variable not being applied. (#611) (#613)
Browse files Browse the repository at this point in the history
Co-authored-by: Jason Lu <jason.lu@hireup.com.au>
  • Loading branch information
zentron and henbeibi authored Mar 1, 2024
1 parent a1ae6b6 commit 9ea9396
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions octopusdeploy/schema_deployment_action.go
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,10 @@ func expandAction(flattenedAction map[string]interface{}) *deployments.Deploymen
action.WorkerPool = v.(string)
}

if v, ok := flattenedAction["worker_pool_variable"]; ok {
action.WorkerPoolVariable = v.(string)
}

if v, ok := flattenedAction["primary_package"]; ok {
primaryPackages := v.([]interface{})
for _, primaryPackage := range primaryPackages {
Expand Down

0 comments on commit 9ea9396

Please sign in to comment.