Skip to content

Commit

Permalink
Merge pull request #286 from carbonin/pass_string_to_mount_point_exists
Browse files Browse the repository at this point in the history
Pass a string to mount_point_exists? method
  • Loading branch information
Fryguy authored Oct 16, 2017
2 parents ccdafeb + eb7df40 commit 6f356fe
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 6f356fe

Please sign in to comment.