fix
This commit is contained in:
@@ -63,3 +63,12 @@ func enhanceStatusFromMeta(raw any) string {
|
||||
s, _ := m["status"].(string)
|
||||
return s
|
||||
}
|
||||
|
||||
func enhanceReasonFromMeta(raw any) string {
|
||||
m, ok := raw.(map[string]any)
|
||||
if !ok {
|
||||
return ""
|
||||
}
|
||||
s, _ := m["reason"].(string)
|
||||
return s
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user