Skip to content

Commit

Permalink
fixes mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
gurubert committed Dec 20, 2023
1 parent 127ea58 commit 18638c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmk/base/plugins/agent_based/diskstat.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,8 @@ 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, Mapping[str | tuple[int, int], str]]:
name_info = {} # dict from (major, minor) to itemname
) -> tuple[int | None, type_defs.StringTable, dict[str | tuple[int, int], str]]:
name_info = {} # dict from (major, minor) or str to itemname
timestamp = None

info_plain = []
Expand Down

0 comments on commit 18638c3

Please sign in to comment.