mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-10 21:19:59 +00:00
Change Agent.user to Agent.username and make it and hostname rw.
This commit is contained in:
@@ -28,8 +28,15 @@ has 'uuid' => (
|
||||
required => 0,
|
||||
);
|
||||
|
||||
has 'username' => (
|
||||
is => 'rw',
|
||||
isa => 'Str',
|
||||
required => 1,
|
||||
default => $ENV{USER} || $ENV{LOGNAME},
|
||||
);
|
||||
|
||||
has 'hostname' => (
|
||||
is => 'ro',
|
||||
is => 'rw',
|
||||
isa => 'Str',
|
||||
required => 1,
|
||||
);
|
||||
@@ -40,12 +47,6 @@ has 'alias' => (
|
||||
required => 0,
|
||||
);
|
||||
|
||||
has 'user' => (
|
||||
is => 'ro',
|
||||
isa => 'Str',
|
||||
required => 1,
|
||||
);
|
||||
|
||||
has 'versions' => (
|
||||
is => 'ro',
|
||||
isa => 'Maybe[HashRef]',
|
||||
|
Reference in New Issue
Block a user