mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Apply some suggestions.
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
@@ -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()]
|
||||
|
||||
Reference in New Issue
Block a user