Skip to content

Commit

Permalink
Remove references to RAILS_ROOT
Browse files Browse the repository at this point in the history
The last caller of PostgresAdmin.certificate_location
was removed in ManageIQ#22

Fixes ManageIQ#4


(transferred from ManageIQ/manageiq-gems-pending@ee90116)
  • Loading branch information
carbonin authored and NickLaMuro committed Mar 5, 2021
1 parent fc17288 commit c643fda
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/manageiq/appliance_console/postgres_admin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
require 'pathname'
require 'linux_admin'

RAILS_ROOT ||= Pathname.new(__dir__).join("../../../")

class PostgresAdmin
def self.data_directory
Pathname.new(ENV.fetch("APPLIANCE_PG_DATA"))
Expand All @@ -30,10 +28,6 @@ def self.user
"postgres".freeze
end

def self.certificate_location
RAILS_ROOT.join("certs")
end

def self.logical_volume_name
"lv_pg".freeze
end
Expand Down

0 comments on commit c643fda

Please sign in to comment.