mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-17 17:31:31 +00:00
Apply some suggestions.
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
e74033eac1
commit
fa6058afcb
4 changed files with 4 additions and 4 deletions
|
|
@ -33,7 +33,7 @@ class BtrfsCommands:
|
|||
self.__module = module
|
||||
self.__btrfs: str = self.__module.get_bin_path("btrfs", required=True)
|
||||
|
||||
def filesystem_show(self):
|
||||
def filesystem_show(self) -> list[dict[str, t.Any]]:
|
||||
command = f"{self.__btrfs} filesystem show -d"
|
||||
result = self.__module.run_command(command, check_rc=True)
|
||||
stdout = [x.strip() for x in result[1].splitlines()]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue