1
0
Fork 0
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:
Felix Fontein 2025-11-27 07:25:05 +01:00
parent e74033eac1
commit fa6058afcb
4 changed files with 4 additions and 4 deletions

View file

@ -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()]