Fix return types

We're now stricter on naming the return types.  Replace string with str.
pull/50175/head
Toshio Kuratomi 6 years ago committed by Matt Clay
parent 05c6ff79f9
commit 947c4300ee

@ -132,7 +132,7 @@ RETURN = """
result: result:
description: information about performed operation description: information about performed operation
returned: always returned: always
type: string type: str
sample: { sample: {
"adv_block_ports": true, "adv_block_ports": true,
"adv_netflow": false, "adv_netflow": false,

@ -146,7 +146,7 @@ privileges_previous:
local_role_name: local_role_name:
description: Name of local role description: Name of local role
returned: always returned: always
type: string type: str
new_privileges: new_privileges:
description: List of privileges description: List of privileges
returned: always returned: always

@ -168,7 +168,7 @@ type:
curve: curve:
description: Elliptic curve used to generate the TLS/SSL private key description: Elliptic curve used to generate the TLS/SSL private key
returned: changed or success, and I(type) is C(ECC) returned: changed or success, and I(type) is C(ECC)
type: string type: str
sample: secp256k1 sample: secp256k1
filename: filename:
description: Path to the generated TLS/SSL private key file description: Path to the generated TLS/SSL private key file

@ -64,7 +64,7 @@ RETURN = """
command: command:
description: the CLI command run on the target node. description: the CLI command run on the target node.
returned: always returned: always
type: string type: str
stdout: stdout:
description: set of responses from the admin-session-timeout command. description: set of responses from the admin-session-timeout command.
returned: always returned: always

@ -83,7 +83,7 @@ RETURN = """
command: command:
description: the CLI command run on the target node. description: the CLI command run on the target node.
returned: always returned: always
type: string type: str
stdout: stdout:
description: set of responses from the cpu-class command. description: set of responses from the cpu-class command.
returned: always returned: always

@ -63,7 +63,7 @@ RETURN = """
command: command:
description: the CLI command run on the target node. description: the CLI command run on the target node.
returned: always returned: always
type: string type: str
stdout: stdout:
description: set of responses from the dscp-map command. description: set of responses from the dscp-map command.
returned: always returned: always

Loading…
Cancel
Save