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 feea1ec commit 6eaf881Copy full SHA for 6eaf881
lib/facter/es_facts.rb
@@ -50,6 +50,8 @@ def self.run
50
51
if File.readable?("#{dir_prefix}/elasticsearch.yml")
52
config_data = YAML.load_file("#{dir_prefix}/elasticsearch.yml")
53
+ return unless config_data
54
+
55
httpport, ssl = get_httpport(config_data)
56
end
57
0 commit comments