1
0
Fork 0
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:
Toshio Kuratomi 2018-12-18 15:04:30 -08:00 committed by Matt Clay
parent 05c6ff79f9
commit 947c4300ee
6 changed files with 6 additions and 6 deletions

View file

@ -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,

View file

@ -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

View file

@ -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

View 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

View file

@ -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

View file

@ -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