Skip to content

Commit

Permalink
feat: update apps naming to be Splunk 9 only (#293)
Browse files Browse the repository at this point in the history
Splunk 9 introduces "peer-apps" instead of "slave-apps" and
"manager-apps" instead of "master-apps".

This change should be merged after Splunk 8 is EOL, which is May 12,
2023.


https://docs.splunk.com/Documentation/Splunk/latest/Indexer/Updatepeerconfigurations
  • Loading branch information
artemrys authored May 17, 2024
1 parent d11a173 commit ad3d804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion splunktaucclib/rest_handler/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def get_base_app_name():
absolute_path = os.path.normpath(main_name)
parts = absolute_path.split(os.path.sep)
parts.reverse()
for key in ("apps", "slave-apps", "master-apps"):
for key in ("apps", "peer-apps", "manager-apps"):
try:
idx = parts.index(key)
if parts[idx + 1] == "etc":
Expand Down

0 comments on commit ad3d804

Please sign in to comment.