Project

General

Profile

« Previous | Next » 

Revision 8ebbbecf

Added by Shira Maximov almost 6 years ago

Fixes #20891 - Remove hostname from /hosts/x/facts results

View differences:

app/controllers/api/v2/fact_values_controller.rb
no_timestamp_facts.
search_for(*search_options).paginate(paginate_options).
preload(:fact_name, :host)
@fact_values = FactValue.build_facts_hash(values.all)
host_id = params[:host_id]
@fact_values = FactValue.build_facts_hash(values, host_id)
end
end
end

Also available in: Unified diff