Commit fe5286eb authored by Jérémie Gaidamour's avatar Jérémie Gaidamour
Browse files

[dev] Wattmeter properties

parent 8e9d5ee4
...@@ -78,7 +78,7 @@ def get_node_properties(cluster_uid, cluster, node_uid, node) ...@@ -78,7 +78,7 @@ def get_node_properties(cluster_uid, cluster, node_uid, node)
node['monitoring'] ||= {} node['monitoring'] ||= {}
h['wattmeter'] = case node['monitoring']['wattmeter'] when true; 'YES'; when false; 'NO' when nil; 'NO'; else node['monitoring']['wattmeter'].upcase end h['wattmeter'] = case node['monitoring']['wattmeter'] when true; true; when false; false when nil; false; else node['monitoring']['wattmeter'].upcase end
# h['rconsole'] = node['monitoring']['rconsole'] # h['rconsole'] = node['monitoring']['rconsole']
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment