Fix return values types for find module in docs (#59480)
* Update find.py (#59456)
Return values for `matched` and `examined` in the find module are integers and not strings.
(cherry picked from commit 7b4ce9e4ae
)
This commit is contained in:
parent
9b1615058e
commit
8e9c8c5b8f
2 changed files with 4 additions and 2 deletions
2
changelogs/fragments/59456-find-return-values.yaml
Normal file
2
changelogs/fragments/59456-find-return-values.yaml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
minor_changes:
|
||||||
|
- Correct the return values of matched and examined from string to int
|
|
@ -197,12 +197,12 @@ files:
|
||||||
matched:
|
matched:
|
||||||
description: Number of matches
|
description: Number of matches
|
||||||
returned: success
|
returned: success
|
||||||
type: str
|
type: int
|
||||||
sample: 14
|
sample: 14
|
||||||
examined:
|
examined:
|
||||||
description: Number of filesystem objects looked at
|
description: Number of filesystem objects looked at
|
||||||
returned: success
|
returned: success
|
||||||
type: str
|
type: int
|
||||||
sample: 34
|
sample: 34
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue