mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-16 16:23:30 +00:00
Fix Lmo::Types in pt-agent. Change Run->queries to query, Maybe[Str].
This commit is contained in:
@@ -16,6 +16,7 @@ BEGIN {
|
|||||||
Percona::Toolkit
|
Percona::Toolkit
|
||||||
Lmo::Meta
|
Lmo::Meta
|
||||||
Lmo::Object
|
Lmo::Object
|
||||||
|
Lmo::Types
|
||||||
Lmo
|
Lmo
|
||||||
Percona::WebAPI::Representation
|
Percona::WebAPI::Representation
|
||||||
Percona::WebAPI::Client
|
Percona::WebAPI::Client
|
||||||
@@ -279,6 +280,7 @@ sub meta {
|
|||||||
# See https://launchpad.net/percona-toolkit for more information.
|
# See https://launchpad.net/percona-toolkit for more information.
|
||||||
# ###########################################################################
|
# ###########################################################################
|
||||||
{
|
{
|
||||||
|
package Lmo::Types;
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
use warnings qw( FATAL all );
|
use warnings qw( FATAL all );
|
||||||
@@ -1283,9 +1285,9 @@ has 'options' => (
|
|||||||
required => 0,
|
required => 0,
|
||||||
);
|
);
|
||||||
|
|
||||||
has 'queries' => (
|
has 'query' => (
|
||||||
is => 'ro',
|
is => 'ro',
|
||||||
isa => 'Maybe[ArrayRef]',
|
isa => 'Maybe[Str]',
|
||||||
required => 0,
|
required => 0,
|
||||||
default => undef,
|
default => undef,
|
||||||
);
|
);
|
||||||
|
@@ -40,9 +40,9 @@ has 'options' => (
|
|||||||
required => 0,
|
required => 0,
|
||||||
);
|
);
|
||||||
|
|
||||||
has 'queries' => (
|
has 'query' => (
|
||||||
is => 'ro',
|
is => 'ro',
|
||||||
isa => 'Maybe[ArrayRef]',
|
isa => 'Maybe[Str]',
|
||||||
required => 0,
|
required => 0,
|
||||||
default => undef,
|
default => undef,
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user