Skip to content

Commit

Permalink
fixed path tp cockpit.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
yrudman committed Apr 20, 2020
1 parent 22701cf commit 593cdea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/miq_cockpit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def self.url(miq_server, opts, address)

def initialize(opts = {})
@opts = opts || {}
@config_dir = File.join(__dir__, "..", "config")
@config_dir = Rails.root.join("config")
@cockpit_conf_dir = File.join(@config_dir, "cockpit")
FileUtils.mkdir_p(@cockpit_conf_dir)
end
Expand Down

0 comments on commit 593cdea

Please sign in to comment.