dotcloud/docker

View on GitHub
libnetwork/iptables/firewalld.go

Summary

Maintainability
A
1 hr
Test Coverage

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

func AddInterfaceFirewalld(intf string) error {
    if !firewalldRunning {
        return nil
    }

Severity: Major
Found in libnetwork/iptables/firewalld.go - About 35 mins to fix

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

    func DelInterfaceFirewalld(intf string) error {
        if !firewalldRunning {
            return nil
        }
    
    
    Severity: Major
    Found in libnetwork/iptables/firewalld.go - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status