Section 27: the cloud-key software alert carries no removable settings entry
This commit is contained in:
1 parent
59afff7906
commit
1152162db4
1 file changed
+3
-2
@@ -377,7 +377,9 @@ def _software_alerts(record, cloud_names):
|
|||||||
settings link, and the removal point at the right entry (section 26.7). When
|
settings link, and the removal point at the right entry (section 26.7). When
|
||||||
that software is the name of a configured cloud key, it can never be removed
|
that software is the name of a configured cloud key, it can never be removed
|
||||||
from the settings, so the alert belongs to the checked key and asks for a
|
from the settings, so the alert belongs to the checked key and asks for a
|
||||||
replacement of the hardware instead (section 27).
|
replacement of the hardware instead (section 27). That form carries no
|
||||||
|
``software``: there is no settings entry to remove, so a software removal
|
||||||
|
must not be able to close it.
|
||||||
"""
|
"""
|
||||||
if record.get("software_compatibility_status") != "PROBLEM":
|
if record.get("software_compatibility_status") != "PROBLEM":
|
||||||
return []
|
return []
|
||||||
@@ -395,7 +397,6 @@ def _software_alerts(record, cloud_names):
|
|||||||
_SOFTWARE_INCOMPATIBLE_KEY_MESSAGE,
|
_SOFTWARE_INCOMPATIBLE_KEY_MESSAGE,
|
||||||
(REPLACE_HARDWARE,),
|
(REPLACE_HARDWARE,),
|
||||||
key_check.get("key_id"),
|
key_check.get("key_id"),
|
||||||
software=software,
|
|
||||||
)]
|
)]
|
||||||
return [_alert(
|
return [_alert(
|
||||||
"software_incompatible",
|
"software_incompatible",
|
||||||
|
|||||||
Reference in new issue
Block a user