For deletion of consumer ptg from chain,
multiple consumer received notifications(update_chains_consumer_removed) calls received by node driver.
While deleting policy target group, grouppolicy plugin is updating group first before making
ptg delete post_commit call.
Issue is, initially plugin_context gets created with original ptg(i.e. with prs attached), and same
plugin_context is used in post_commit call, but in between group gets updated, to have no prs.
So we need to modify plugin context to have this change.
For deletion of consumer ptg from chain, update_ chains_ consumer_ removed) calls received by node driver.
multiple consumer received notifications(
While deleting policy target group, grouppolicy plugin is updating group first before making
ptg delete post_commit call.
Issue is, initially plugin_context gets created with original ptg(i.e. with prs attached), and same
plugin_context is used in post_commit call, but in between group gets updated, to have no prs.
So we need to modify plugin context to have this change.