palourde/uchiwa

View on GitHub

Showing 81 of 81 total issues

Function IsCheckSilenced has 5 return statements (exceeds 4 allowed).
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 {
Severity: Major
Found in uchiwa/helpers/helpers.go - About 35 mins to fix
    Severity
    Category
    Status
    Source
    Language