Skip to content

Commit

Permalink
fixes typedef
Browse files Browse the repository at this point in the history
  • Loading branch information
gurubert committed Dec 20, 2023
1 parent 18638c3 commit 6fcc532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmk/base/plugins/agent_based/diskstat.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def parse_diskstat(string_table: type_defs.StringTable) -> diskstat.Section:
# }
def diskstat_extract_name_info(
string_table: type_defs.StringTable,
) -> tuple[int | None, type_defs.StringTable, dict[str | tuple[int, int], str]]:
) -> tuple[int | None, type_defs.StringTable, Mapping[tuple[int, int] | str, str]]:
name_info = {} # dict from (major, minor) or str to itemname
timestamp = None

Expand Down

0 comments on commit 6fcc532

Please sign in to comment.