[stable-2.19] service_facts: Handle KeyError while processing service name (#85572) (#85647)

* service_facts: Handle KeyError while processing service name

As a part of follow up review,

* Handle KeyError with exception handling
* Warn user about the missing service name in the given service details
(cherry picked from commit 9ed7164)

Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde
2025-08-18 15:34:42 -07:00
committed by GitHub
parent 8d26bbf3f7
commit 8849bd776b
2 changed files with 9 additions and 1 deletions
+4
View File
@@ -0,0 +1,4 @@
---
minor_changes:
- service_facts - warn user about missing service details instead of ignoring.
- service_facts - handle keyerror exceptions with warning.