We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69201d7 commit 212b6f2Copy full SHA for 212b6f2
elasticsearch/utils/es_util_env
@@ -11,11 +11,11 @@ get_security_conf_index() {
11
local index=$( python -c 'import sys,yaml
12
hsh = yaml.load(open(sys.argv[1]))
13
if "searchguard" in hsh and "config_index_name" in hsh["searchguard"]:
14
- print hsh["searchguard"]["config_index_name"]
+ print(hsh["searchguard"]["config_index_name"])
15
elif "opendistro_security" in hsh and "config_index_name" in hsh["opendistro_security"]:
16
- print hsh["opendistro_security"]["config_index_name"]
+ print(hsh["opendistro_security"]["config_index_name"])
17
else:
18
- print "unknown_security_index"
+ print("unknown_security_index")
19
' $es_config_file )
20
echo $index
21
}
0 commit comments