Showing 81 of 81 total issues
Function IsCheckSilenced
has 5 return statements (exceeds 4 allowed). Open
Open
func IsCheckSilenced(check, client map[string]interface{}, dc string, silenced []interface{}) (bool, []string) {
var isSilenced bool
var commonSubscriptions, isSilencedBy, subscribers, subscriptions []string
if dc == "" || len(silenced) == 0 {