Add a getter function for a PostgresNode install_path
Experience has shown this can be useful, and while not strictly necessary we should not normally expose the internals of PostgresNode objects.
This commit is contained in:
parent
1e8d89f880
commit
87076c4083
@ -302,6 +302,20 @@ sub backup_dir
|
|||||||
|
|
||||||
=pod
|
=pod
|
||||||
|
|
||||||
|
=item $node->install_path()
|
||||||
|
|
||||||
|
The configured install path (if any) for the node.
|
||||||
|
|
||||||
|
=cut
|
||||||
|
|
||||||
|
sub install_path
|
||||||
|
{
|
||||||
|
my ($self) = @_;
|
||||||
|
return $self->{_install_path};
|
||||||
|
}
|
||||||
|
|
||||||
|
=pod
|
||||||
|
|
||||||
=item $node->info()
|
=item $node->info()
|
||||||
|
|
||||||
Return a string containing human-readable diagnostic information (paths, etc)
|
Return a string containing human-readable diagnostic information (paths, etc)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user