mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-05 02:20:28 -05:00
satisfy staticcheck
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
@@ -296,7 +296,7 @@ func (s Service) AddMember(c context.Context, in *proto.AddMemberRequest, out *p
|
||||
alreadyRelated = true
|
||||
}
|
||||
}
|
||||
if alreadyRelated == false {
|
||||
if !alreadyRelated {
|
||||
g.Members = append(g.Members, a)
|
||||
}
|
||||
|
||||
@@ -308,7 +308,7 @@ func (s Service) AddMember(c context.Context, in *proto.AddMemberRequest, out *p
|
||||
break
|
||||
}
|
||||
}
|
||||
if alreadyRelated == false {
|
||||
if !alreadyRelated {
|
||||
a.MemberOf = append(a.MemberOf, g)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user