()
| 90 | } |
| 91 | |
| 92 | func getAlertContext() *Context { |
| 93 | if ac := alertContext.Load(); ac != nil { |
| 94 | return ac |
| 95 | } |
| 96 | |
| 97 | return &Context{} |
| 98 | } |
| 99 | |
| 100 | // Truncate the context map to fit in the context value length |
| 101 | func TruncateContextMap(contextMap map[string][]string, contextValueLen int) ([]*models.MetaItems0, []error) { |
no test coverage detected
searching dependent graphs…