Skip to content

Commit

Permalink
Pass a string to mount_point_exists? method
Browse files Browse the repository at this point in the history
This method will register a false negative if passed a Pathname
object, which is what we are doing currently.
  • Loading branch information
carbonin committed Oct 16, 2017
1 parent 111571b commit eb7df40
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def copy_template(src, src_dir = self.class.postgresql_template, dest_dir = Post
end

def pg_mount_point?
LinuxAdmin::LogicalVolume.mount_point_exists?(mount_point)
LinuxAdmin::LogicalVolume.mount_point_exists?(mount_point.to_s)
end

def run_initdb
Expand Down

0 comments on commit eb7df40

Please sign in to comment.