Skip to content

Commit

Permalink
16006 FIX esx_systeminfo: Fix missing 'Software > OS > Build' for vie…
Browse files Browse the repository at this point in the history
…w configuration

Change-Id: Id4e75d27bc2fe067387061df486e40ccc6955294
  • Loading branch information
si-23 committed Oct 25, 2023
1 parent 62f9476 commit f7365ad
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .werks/16006
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Title: esx_systeminfo: Fix missing 'Software > OS > Build' for view configuration
Class: fix
Compatible: compat
Component: multisite
Date: 1697464705
Edition: cre
Level: 1
Version: 2.3.0b1



2 changes: 2 additions & 0 deletions cmk/gui/views/inventory/builtin_display_hints.py
Original file line number Diff line number Diff line change
Expand Up @@ -1594,6 +1594,7 @@ def register(inventory_displayhints: InventoryHintRegistry) -> None:
"kernel_version",
"arch",
"service_pack",
"build",
],
},
".software.os.name": {"title": _l("Operating system"), "is_show_more": False},
Expand All @@ -1604,6 +1605,7 @@ def register(inventory_displayhints: InventoryHintRegistry) -> None:
".software.os.kernel_version": {"title": _l("Kernel Version")},
".software.os.arch": {"title": _l("Kernel Architecture")},
".software.os.service_pack": {"title": _l("Latest Service Pack")},
".software.os.build": {"title": _l("Build")},
".software.os.service_packs:": {"title": _l("Service Packs"), "keyorder": ["name"]},
".software.os.service_packs:*.name": {"title": _l("Name")},
".software.packages:": {
Expand Down
1 change: 1 addition & 0 deletions tests/unit/cmk/gui/plugins/views/test_painters.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,7 @@ def test_registered_painters() -> None:
"inv_software_kernel_config",
"inv_software_os",
"inv_software_os_arch",
"inv_software_os_build",
"inv_software_os_install_date",
"inv_software_os_kernel_version",
"inv_software_os_name",
Expand Down
1 change: 1 addition & 0 deletions tests/unit/cmk/gui/views/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2557,6 +2557,7 @@ def test_registered_display_hints() -> None:
".software.kernel_config:*.value",
".software.os.",
".software.os.arch",
".software.os.build",
".software.os.install_date",
".software.os.kernel_version",
".software.os.name",
Expand Down

0 comments on commit f7365ad

Please sign in to comment.