mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-28 09:06:44 -06:00
compat: fix Any
params in batch
and dnsrecord
The `methods` argument of `batch` and `dnsrecords` attribute of `dnsrecord` were incorrectly defined as `Str` instead of `Any`. https://fedorahosted.org/freeipa/ticket/6647 Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
parent
a572e61cb5
commit
e3b49abfe7
@ -50,7 +50,7 @@ class batch(Command):
|
||||
NO_CLI = True
|
||||
|
||||
takes_args = (
|
||||
parameters.Str(
|
||||
parameters.Any(
|
||||
'methods',
|
||||
required=False,
|
||||
multivalue=True,
|
||||
|
@ -326,7 +326,7 @@ class dnsrecord(Object):
|
||||
'dnsclass',
|
||||
required=False,
|
||||
),
|
||||
parameters.Str(
|
||||
parameters.Any(
|
||||
'dnsrecords',
|
||||
required=False,
|
||||
label=_(u'Records'),
|
||||
|
@ -50,7 +50,7 @@ class batch(Command):
|
||||
NO_CLI = True
|
||||
|
||||
takes_args = (
|
||||
parameters.Str(
|
||||
parameters.Any(
|
||||
'methods',
|
||||
required=False,
|
||||
multivalue=True,
|
||||
|
@ -326,7 +326,7 @@ class dnsrecord(Object):
|
||||
'dnsclass',
|
||||
required=False,
|
||||
),
|
||||
parameters.Str(
|
||||
parameters.Any(
|
||||
'dnsrecords',
|
||||
required=False,
|
||||
label=_(u'Records'),
|
||||
|
@ -50,7 +50,7 @@ class batch(Command):
|
||||
NO_CLI = True
|
||||
|
||||
takes_args = (
|
||||
parameters.Str(
|
||||
parameters.Any(
|
||||
'methods',
|
||||
required=False,
|
||||
multivalue=True,
|
||||
|
@ -326,7 +326,7 @@ class dnsrecord(Object):
|
||||
'dnsclass',
|
||||
required=False,
|
||||
),
|
||||
parameters.Str(
|
||||
parameters.Any(
|
||||
'dnsrecords',
|
||||
required=False,
|
||||
label=_(u'Records'),
|
||||
|
@ -50,7 +50,7 @@ class batch(Command):
|
||||
NO_CLI = True
|
||||
|
||||
takes_args = (
|
||||
parameters.Str(
|
||||
parameters.Any(
|
||||
'methods',
|
||||
required=False,
|
||||
multivalue=True,
|
||||
|
@ -256,7 +256,7 @@ class dnsrecord(Object):
|
||||
label=_(u'Class'),
|
||||
doc=_(u'DNS class'),
|
||||
),
|
||||
parameters.Str(
|
||||
parameters.Any(
|
||||
'dnsrecords',
|
||||
required=False,
|
||||
label=_(u'Records'),
|
||||
|
Loading…
Reference in New Issue
Block a user