Skip to content

Commit

Permalink
idutil: name return params when adding team writers
Browse files Browse the repository at this point in the history
Suggested by songgao.

Issue: #17606
  • Loading branch information
strib committed May 29, 2019
1 parent 0f3d76b commit b9123d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/kbfs/idutil/daemon_local.go
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ func (dl *DaemonLocal) RemoveAssertionForTest(assertion string) {
// by tests.
func (dl *DaemonLocal) AddTeamWriterForTest(
tid keybase1.TeamID, uid keybase1.UID) (
kbname.NormalizedUsername, bool, error) {
username kbname.NormalizedUsername, isImplicit bool, err error) {
dl.lock.Lock()
defer dl.lock.Unlock()
t, err := dl.localTeams.getLocalTeam(tid)
Expand All @@ -580,7 +580,7 @@ func (dl *DaemonLocal) AddTeamWriterForTest(
t.Writers[uid] = true
delete(t.Readers, uid)
dl.localTeams[tid] = t
_, isImplicit := dl.localImplicitTeams[tid]
_, isImplicit = dl.localImplicitTeams[tid]
return t.Name, isImplicit, nil
}

Expand Down

0 comments on commit b9123d1

Please sign in to comment.