npc: Replace isNil by reflect.IsNil
This commit is contained in:
1 parent
49224ec9f7
commit
cf3a3be8f2
3 files changed
+3
-12
No files matched your search
@@ -56,10 +56,6 @@ func (spec *selectorSpec) getRuleSpec(src bool) ([]string, string) {
|
||||
return rule, comment
|
||||
}
|
||||
|
||||
func (spec *selectorSpec) isNil() bool {
|
||||
return spec == nil
|
||||
}
|
||||
|
||||
type selector struct {
|
||||
ips ipset.Interface
|
||||
spec *selectorSpec
|
||||
|
||||
Reference in new issue
Block a user