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 9bb239a01c
commit c1eccfd1db
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
if policy != "" {
fmt.Println("Listing by policy")
iter, err = tx.Get("acl-tokens", "policies", policy)
if err == nil && global != local {
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
}
fmt.Printf("Filtering")
return false
})
}