File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -339,8 +339,8 @@ def delete(self, disable_first=False):
339339 Deletes this deployment. The disable_first flag automatically disables the deployment
340340 before its deletion.
341341
342- :param boolean disable_first: If True, automatically disables deployment.
343- If False, attempting to delete an enabled deployment will raise an Exception .
342+ :param boolean disable_first: If True, automatically disables this deployment before deleting it .
343+ If False, will raise an Exception if this deployment is enabled .
344344
345345 """
346346
@@ -352,7 +352,7 @@ def delete(self, disable_first=False):
352352 settings = self .get_settings ()
353353 settings .set_enabled (enabled = False )
354354 settings .save ()
355- return self .client ._perform_empty (
355+ self .client ._perform_empty (
356356 "DELETE" , "/api-deployer/deployments/%s" % (self .deployment_id ))
357357
358358
@@ -532,7 +532,7 @@ def delete(self):
532532
533533 You may only delete a service if it has no deployments on it anymore.
534534 """
535- return self .client ._perform_empty (
535+ self .client ._perform_empty (
536536 "DELETE" , "/api-deployer/services/%s" % (self .service_id ))
537537
538538
You can’t perform that action at this time.
0 commit comments