Skip to content

Commit 7e35282

Browse files
authored
Merge pull request #329 from xrmx/index-submit-outdated-comment
client: remove outdated comment in Index.submit
2 parents c9245b1 + 0c3b64a commit 7e35282

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

splunklib/client.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2115,10 +2115,6 @@ def submit(self, event, host=None, source=None, sourcetype=None):
21152115
if source is not None: args['source'] = source
21162116
if sourcetype is not None: args['sourcetype'] = sourcetype
21172117

2118-
# The reason we use service.request directly rather than POST
2119-
# is that we are not sending a POST request encoded using
2120-
# x-www-form-urlencoded (as we do not have a key=value body),
2121-
# because we aren't really sending a "form".
21222118
self.service.post(PATH_RECEIVERS_SIMPLE, body=event, **args)
21232119
return self
21242120

0 commit comments

Comments
 (0)