Skip to content

Commit

Permalink
retain action id
Browse files Browse the repository at this point in the history
  • Loading branch information
veochen-octopus committed Oct 9, 2023
1 parent 2fc870f commit 9938c2f
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 @@ -391,6 +391,10 @@ func expandAction(flattenedAction map[string]interface{}) *deployments.Deploymen
action.Properties = expandProperties(v)
}

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

if v, ok := flattenedAction["can_be_used_for_project_versioning"]; ok {
action.CanBeUsedForProjectVersioning = v.(bool)
}
Expand Down

1 comment on commit 9938c2f

@MCollins434
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

Please sign in to comment.