agent: remove some stray fmt.Print* calls (#5015)

This commit is contained in:
R.B. Boyer 2018-11-29 09:45:51 -06:00 committed by GitHub
parent 9a849faeb8
commit c86eff8859
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -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
}) })
} }