Closed karlkfi closed 2 years ago
and destroyed when the apply object set is empty.
Is this destroy operation only for destroyer being called explicitly? In other words, the inventory object is not destroyed even the object set is empty after after a replace?
and destroyed when the apply object set is empty.
Is this destroy operation only for destroyer being called explicitly? In other words, the inventory object is not destroyed even the object set is empty after after a replace?
The Applier never deletes the inventory. Only the Destroyer deletes the inventory.
The new test (like most of the others) calls the applier, validates the result, and then calls the destroyer, and validates the result.
The only behavioral change here is that the InvAddtask now (again) executes on every Applier run.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: karlkfi, Liujingfang1
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Fixes https://github.com/GoogleContainerTools/kpt/issues/2857