Commit 31d1cd98 authored by MARGERY David's avatar MARGERY David
Browse files

[rake] make error more explicit when bad pdu information is created

parent 59c6b9ca
......@@ -366,7 +366,7 @@ module G5K
unless site[:pdus].nil?
site[:pdus].each do |pdu|
site_pdus[pdu[:uid]]=pdu[:sensors][0][:power][:per_outlets] rescue nil
puts pdu if site_pdus[pdu[:uid]].nil?
pp pdu if site_pdus[pdu[:uid]].nil?
end
site[:clusters].each do |cluster|
cluster[:nodes].each do |node|
......
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