Skip to content

Commit ad3d804

Browse files
authored
feat: update apps naming to be Splunk 9 only (#293)
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
1 parent d11a173 commit ad3d804

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

splunktaucclib/rest_handler/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def get_base_app_name():
8282
absolute_path = os.path.normpath(main_name)
8383
parts = absolute_path.split(os.path.sep)
8484
parts.reverse()
85-
for key in ("apps", "slave-apps", "master-apps"):
85+
for key in ("apps", "peer-apps", "manager-apps"):
8686
try:
8787
idx = parts.index(key)
8888
if parts[idx + 1] == "etc":

0 commit comments

Comments
 (0)