agent: remove some stray fmt.Print* calls (#5015)
This commit is contained in:
parent
9a849faeb8
commit
c86eff8859
|
@ -469,7 +469,6 @@ func (s *Store) ACLTokenList(ws memdb.WatchSet, local, global bool, policy strin
|
||||||
// all tokens so our checks just ensure that global == local
|
// all tokens so our checks just ensure that global == local
|
||||||
|
|
||||||
if policy != "" {
|
if policy != "" {
|
||||||
fmt.Println("Listing by policy")
|
|
||||||
iter, err = tx.Get("acl-tokens", "policies", policy)
|
iter, err = tx.Get("acl-tokens", "policies", policy)
|
||||||
if err == nil && global != local {
|
if err == nil && global != local {
|
||||||
iter = memdb.NewFilterIterator(iter, func(raw interface{}) bool {
|
iter = memdb.NewFilterIterator(iter, func(raw interface{}) bool {
|
||||||
|
@ -484,7 +483,6 @@ func (s *Store) ACLTokenList(ws memdb.WatchSet, local, global bool, policy strin
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Printf("Filtering")
|
|
||||||
return false
|
return false
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue