equals215/deepsentinel

View on GitHub
agent/config.go

Summary

Maintainability
A
35 mins
Test Coverage

Function ExecuteConfigInstruction has 5 return statements (exceeds 4 allowed).
Open

func ExecuteConfigInstruction(instruction string, args []string) error {
    var message string

    message = fmt.Sprintf("%s=%s", instruction, strings.Join(args, ","))
    if instruction == "unregister" {
Severity: Major
Found in agent/config.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status