Skip to content

Commit

Permalink
Fix holdover from other change set
Browse files Browse the repository at this point in the history
Summary:
In a previous changeset, I was playing with the comment property. This
changeset on delta sharing objects doesn't include that change and
there is no way to create or modify a share's comment
  • Loading branch information
ScottReyn-db committed Jun 13, 2024
1 parent bf1a98a commit 9ffebeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sharing/resource_share.go
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ func ResourceShare() common.Resource {
})
if err != nil {
// Rollback
if d.HasChanges("owner", "comment") {
if d.HasChange("owner") {
oldOwner, _ := d.GetChange("owner")
_, rollbackErr := w.Shares.Update(ctx, sharing.UpdateShare{
Name: d.Get("name").(string),
Expand Down

0 comments on commit 9ffebeb

Please sign in to comment.