@@ -224,7 +224,7 @@ def change_host_info(rws, data)
224224 rw . each do |ip |
225225 id = framework . db . get_host ( :address => ip ) . id
226226 framework . db . hosts . update ( id , :info => data )
227- framework . db . report_note ( { :host => ip , :type => 'host.info' , :note => data } )
227+ framework . db . report_note ( :host => ip , :type => 'host.info' , :note => data )
228228 end
229229 end
230230 end
@@ -234,7 +234,7 @@ def change_host_name(rws, data)
234234 rw . each do |ip |
235235 id = framework . db . get_host ( :address => ip ) . id
236236 framework . db . hosts . update ( id , :name => data )
237- framework . db . report_note ( { :host => ip , :type => 'host.name' , :note => data } )
237+ framework . db . report_note ( :host => ip , :type => 'host.name' , :note => data )
238238 end
239239 end
240240 end
@@ -244,7 +244,7 @@ def change_host_comment(rws, data)
244244 rw . each do |ip |
245245 id = framework . db . get_host ( :address => ip ) . id
246246 framework . db . hosts . update ( id , :comments => data )
247- framework . db . report_note ( { :host => ip , :type => 'host.comments' , :note => data } )
247+ framework . db . report_note ( :host => ip , :type => 'host.comments' , :note => data )
248248 end
249249 end
250250 end
0 commit comments