Skip to content

Commit

Permalink
Update client.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ashah-splunk committed Sep 13, 2022
1 parent ea198c0 commit 9f1b937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion splunklib/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ def splunk_instance(self):

@property
def disable_v2_api(self):
if self.splunk_instance == 'cloud':
if self.splunk_instance.lower() == 'cloud':
return self.splunk_version < (9,0,2209)
return self.splunk_version < (9,0,2)

Expand Down

0 comments on commit 9f1b937

Please sign in to comment.