Skip to content

Commit

Permalink
Set 'id' attribute during update
Browse files Browse the repository at this point in the history
  • Loading branch information
alexhung committed Dec 16, 2024
1 parent 309425f commit 3f85c70
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/artifactory/resource/repository/repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,8 @@ func (r *BaseResource) Update(ctx context.Context, req resource.UpdateRequest, r
plan.SetProjectEnvironments(types.SetNull(types.StringType))
}

plan.SetID(plan.KeyString())

planProjectKey := plan.ProjectKeyValue()
stateProjectKey := state.ProjectKeyValue()

Expand Down

0 comments on commit 3f85c70

Please sign in to comment.