Skip to content

Commit 465a56b

Browse files
committed
Update client.py
default value for owner set to "nobody"
1 parent ad5f21e commit 465a56b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

splunklib/client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -756,6 +756,8 @@ def get(self, path_segment="", owner=None, app=None, sharing=None, **query):
756756
# self.path to the Endpoint is relative in the SDK, so passing
757757
# owner, app, sharing, etc. along will produce the correct
758758
# namespace in the final request.
759+
if owner is None:
760+
owner = "nobody"
759761
if path_segment.startswith('/'):
760762
path = path_segment
761763
else:

0 commit comments

Comments
 (0)