Skip to content

Commit

Permalink
missed return statement
Browse files Browse the repository at this point in the history
  • Loading branch information
benPearce1 committed Nov 28, 2024
1 parent 9e504eb commit b834bc4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ func (d *deploymentFreezeProjectResource) Create(ctx context.Context, req resour
freeze, err := deploymentfreezes.GetById(d.Client, plan.DeploymentFreezeID.ValueString())
if err != nil {
resp.Diagnostics.AddError("cannot load deployment freeze", err.Error())
return
}
freeze.ProjectEnvironmentScope[plan.ProjectID.ValueString()] = util.ExpandStringList(plan.EnvironmentIDs)

Expand Down

0 comments on commit b834bc4

Please sign in to comment.