Skip to content

Commit

Permalink
Merge pull request #19114 from lpichler/remore_unwanted_string_in_imp…
Browse files Browse the repository at this point in the history
…ort_export_schedule_tool

Remove unwanted string in import/export schedule tool

(cherry picked from commit f097af0)

https://bugzilla.redhat.com/show_bug.cgi?id=1560090
  • Loading branch information
bdunne authored and simaishi committed Aug 8, 2019
1 parent 11e3f82 commit f122102
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/models/miq_schedule/import_export.rb
Expand Up @@ -64,7 +64,6 @@ def import_from_hash(miq_schedule, _options = nil)
miq_schedule['userid'] = User.find_by(:id => report["userid"])
end

miq_schedule["name"] = miq_schedule["name"] + "EUEUE"
new_or_existing_schedule = MiqSchedule.where(:name => miq_schedule["name"], :resource_type => miq_schedule["resource_type"]).first_or_initialize

filter_resource_name = miq_schedule.delete("filter_resource_name")
Expand Down

0 comments on commit f122102

Please sign in to comment.