We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 352ee12 commit 87d76deCopy full SHA for 87d76de
splunklib/client.py
@@ -604,9 +604,7 @@ def restart(self, timeout=None):
604
:type timeout: ``integer``
605
"""
606
msg = {
607
- "value": "Restart requested by "
608
- + self.username
609
- + "via the Splunk SDK for Python"
+ "value": f"Restart requested by {self.username} via the Splunk SDK for Python"
610
}
611
# This message will be deleted once the server actually restarts.
612
self.messages.create(name="restart_required", **msg)
0 commit comments