diff options
-rw-r--r-- | sfc/lib/cleanup.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfc/lib/cleanup.py b/sfc/lib/cleanup.py index 7936600b..a5512c66 100644 --- a/sfc/lib/cleanup.py +++ b/sfc/lib/cleanup.py @@ -49,7 +49,7 @@ def delete_vnffgs(): vnffgs = os_tacker.list_vnffgs(t) if vnffgs is None: return - for vnffg in vnffgs: + for vnffg in reversed(vnffgs): logger.info("Removing vnffg: {0}".format(vnffg)) os_tacker.delete_vnffg(t, vnffg_id=vnffg) |