mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-11 05:29:30 +00:00
Fix Agent.username default.
This commit is contained in:
@@ -32,7 +32,7 @@ has 'username' => (
|
|||||||
is => 'rw',
|
is => 'rw',
|
||||||
isa => 'Str',
|
isa => 'Str',
|
||||||
required => 1,
|
required => 1,
|
||||||
default => $ENV{USER} || $ENV{LOGNAME},
|
default => sub { return $ENV{USER} || $ENV{LOGNAME} },
|
||||||
);
|
);
|
||||||
|
|
||||||
has 'hostname' => (
|
has 'hostname' => (
|
||||||
|
Reference in New Issue
Block a user