Skip to content

Commit 87d76de

Browse files
committed
Add space before username in restart required message
1 parent 352ee12 commit 87d76de

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

splunklib/client.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -604,9 +604,7 @@ def restart(self, timeout=None):
604604
:type timeout: ``integer``
605605
"""
606606
msg = {
607-
"value": "Restart requested by "
608-
+ self.username
609-
+ "via the Splunk SDK for Python"
607+
"value": f"Restart requested by {self.username} via the Splunk SDK for Python"
610608
}
611609
# This message will be deleted once the server actually restarts.
612610
self.messages.create(name="restart_required", **msg)

0 commit comments

Comments
 (0)