Skip to content

Commit

Permalink
Merge pull request #460 from splunk/remove-restart-from-disable
Browse files Browse the repository at this point in the history
Remove restart from client.Entity.disable
  • Loading branch information
vmalaviya-splunk committed Jun 6, 2022
2 parents 703e49a + b319a98 commit f016f44
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions splunklib/client.py
Expand Up @@ -1095,8 +1095,6 @@ def content(self):
def disable(self):
"""Disables the entity at this endpoint."""
self.post("disable")
if self.service.restart_required:
self.service.restart(120)
return self

def enable(self):
Expand Down

0 comments on commit f016f44

Please sign in to comment.