File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,5 @@ def cli(env, identifier):
1414 """Delete bandwidth pool."""
1515
1616 manager = BandwidthManager (env .client )
17- bandwidth_pool = manager .delete_pool (identifier )
18-
19- if bandwidth_pool :
20- env .fout (f"Bandwidth pool with ID { identifier } was programmed to will delete" )
17+ manager .delete_pool (identifier )
18+ env .fout (f"Bandwidth pool { identifier } has been scheduled for deletion." )
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ def test_delete_bandwidth(self):
6666 self .assert_no_fail (result )
6767 self .assert_called_with ('SoftLayer_Network_Bandwidth_Version1_Allotment' , 'requestVdrCancellation' )
6868 json_output = json .loads (result .output )
69- self .assertEqual ("Bandwidth pool with ID 123456 was programmed to will delete " , json_output )
69+ self .assertEqual ("Bandwidth pool 123456 has been scheduled for deletion. " , json_output )
7070
7171
7272def _bandwidth_advanced_search ():
You can’t perform that action at this time.
0 commit comments