Skip to content

Commit

Permalink
Merge pull request #284 from rvilalta/master
Browse files Browse the repository at this point in the history
Fixed small bug regarding request_status
  • Loading branch information
alemanyp authored Dec 9, 2019
2 parents 7867884 + e9c4f5a commit 7e2758c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slice_lifecycle_mgr/nsi_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ def undo_nsrs(self, nsrs_2_terminate):
# calls the function towards the GTK
termination_response = mapper.net_serv_terminate(data)

if termination_response[1] == 201:
if termination_response[1] in [200, 201]:
for nsr_item in self.NSI['nsr-list']:
if nsrid_item == nsr_item['nsrId']:
nsr_item['working-status'] == 'TERMINATING'
Expand Down

0 comments on commit 7e2758c

Please sign in to comment.