mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix return types
We're now stricter on naming the return types. Replace string with str.
This commit is contained in:
parent
05c6ff79f9
commit
947c4300ee
6 changed files with 6 additions and 6 deletions
|
@ -132,7 +132,7 @@ RETURN = """
|
|||
result:
|
||||
description: information about performed operation
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: {
|
||||
"adv_block_ports": true,
|
||||
"adv_netflow": false,
|
||||
|
|
|
@ -146,7 +146,7 @@ privileges_previous:
|
|||
local_role_name:
|
||||
description: Name of local role
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
new_privileges:
|
||||
description: List of privileges
|
||||
returned: always
|
||||
|
|
|
@ -168,7 +168,7 @@ type:
|
|||
curve:
|
||||
description: Elliptic curve used to generate the TLS/SSL private key
|
||||
returned: changed or success, and I(type) is C(ECC)
|
||||
type: string
|
||||
type: str
|
||||
sample: secp256k1
|
||||
filename:
|
||||
description: Path to the generated TLS/SSL private key file
|
||||
|
|
|
@ -64,7 +64,7 @@ RETURN = """
|
|||
command:
|
||||
description: the CLI command run on the target node.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
stdout:
|
||||
description: set of responses from the admin-session-timeout command.
|
||||
returned: always
|
||||
|
|
|
@ -83,7 +83,7 @@ RETURN = """
|
|||
command:
|
||||
description: the CLI command run on the target node.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
stdout:
|
||||
description: set of responses from the cpu-class command.
|
||||
returned: always
|
||||
|
|
|
@ -63,7 +63,7 @@ RETURN = """
|
|||
command:
|
||||
description: the CLI command run on the target node.
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
stdout:
|
||||
description: set of responses from the dscp-map command.
|
||||
returned: always
|
||||
|
|
Loading…
Reference in a new issue