You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds support for discarding an item before restoring it
Within a RestoreItemAction, if the Execute function sets abandonItem
to true on the UpdatedItem before running it, then restoreResource
skips any remaining actions on this item, skips restoring this item
to the cluster, and continues on to the next item.
In the plugin Execute function, the following line would trigger
skipping, assuming input.Item is the object passed into
NewRestoreItemActionExecuteOutput on return:
unstructured.SetNestedField(input.Item.UnstructuredContent(),
true,
"abandonItem")
0 commit comments