Skip to content

Commit

Permalink
Update environment resource testing (#750)
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaacCalligeros95 authored Aug 16, 2024
1 parent 920383c commit a10daef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions octopusdeploy_framework/resource_environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ func (r *environmentTypeResource) Update(ctx context.Context, req resource.Updat
updatedEnv.AllowDynamicInfrastructure = data.AllowDynamicInfrastructure.ValueBool()
updatedEnv.UseGuidedFailure = data.UseGuidedFailure.ValueBool()
updatedEnv.SortOrder = util.GetNumber(data.SortOrder)
updatedEnv.SpaceID = data.SpaceID.ValueString()
if len(data.JiraExtensionSettings.Elements()) > 0 {
jiraExtensionSettings := mapJiraExtensionSettings(data.JiraExtensionSettings)
if jiraExtensionSettings != nil {
Expand Down

0 comments on commit a10daef

Please sign in to comment.