fix(aa): ineffective assignment
This commit is contained in:
parent
ff5ff965cd
commit
228d3b653c
12 changed files with 39 additions and 20 deletions
|
|
@ -56,7 +56,8 @@ func (r *Userns) Compare(other Rule) int {
|
|||
|
||||
func (r *Userns) Merge(other Rule) bool {
|
||||
o, _ := other.(*Userns)
|
||||
return r.RuleBase.merge(o.RuleBase)
|
||||
b := &r.RuleBase
|
||||
return b.merge(o.RuleBase)
|
||||
}
|
||||
|
||||
func (r *Userns) String() string {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue