Some handling around empty elements
parent
a20c85a655
commit
fc0dc23752
|
@ -58,7 +58,7 @@ module Parser
|
|||
unless in_tag("JobOrder")
|
||||
case name
|
||||
when "OS"
|
||||
unless @host.nil?
|
||||
unless @host.nil? or @text.blank?
|
||||
tnote = {
|
||||
:type => "host.os.fusionvm_fingerprint",
|
||||
:data => { :os => @text.strip },
|
||||
|
|
Loading…
Reference in New Issue