mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-27 16:12:04 +00:00
Make Logger data_ts and service attribs rw.
This commit is contained in:
16
bin/pt-agent
16
bin/pt-agent
@@ -1493,6 +1493,12 @@ package Percona::WebAPI::Resource::LogEntry;
|
||||
|
||||
use Lmo;
|
||||
|
||||
has 'pid' => (
|
||||
is => 'ro',
|
||||
isa => 'Int',
|
||||
required => 1,
|
||||
);
|
||||
|
||||
has 'service' => (
|
||||
is => 'ro',
|
||||
isa => 'Str',
|
||||
@@ -4835,15 +4841,17 @@ has 'pid' => (
|
||||
);
|
||||
|
||||
has 'service' => (
|
||||
is => 'ro',
|
||||
isa => 'Str',
|
||||
is => 'rw',
|
||||
isa => 'Maybe[Str]',
|
||||
required => 0,
|
||||
default => sub { return; },
|
||||
);
|
||||
|
||||
has 'data_ts' => (
|
||||
is => 'ro',
|
||||
isa => 'Int',
|
||||
is => 'rw',
|
||||
isa => 'Maybe[Int]',
|
||||
required => 0,
|
||||
default => sub { return; },
|
||||
);
|
||||
|
||||
has 'online_logging' => (
|
||||
|
@@ -46,15 +46,17 @@ has 'pid' => (
|
||||
);
|
||||
|
||||
has 'service' => (
|
||||
is => 'ro',
|
||||
isa => 'Str',
|
||||
is => 'rw',
|
||||
isa => 'Maybe[Str]',
|
||||
required => 0,
|
||||
default => sub { return; },
|
||||
);
|
||||
|
||||
has 'data_ts' => (
|
||||
is => 'ro',
|
||||
isa => 'Int',
|
||||
is => 'rw',
|
||||
isa => 'Maybe[Int]',
|
||||
required => 0,
|
||||
default => sub { return; },
|
||||
);
|
||||
|
||||
has 'online_logging' => (
|
||||
|
Reference in New Issue
Block a user