Clean up logging a little

This commit is contained in:
Marc Di Luzio 2020-06-27 02:02:18 +01:00
parent 5bbb2ff37f
commit 5b5f80be7d
2 changed files with 2 additions and 5 deletions

View file

@ -68,8 +68,7 @@ func (a *accountantServer) GetValue(_ context.Context, in *accounts.DataKey) (*a
a.sync.RLock()
defer a.sync.RUnlock()
// Try and fetch the rover
log.Printf("Getting value for account %s: %s\n", in.Account, in.Key)
// Try and fetch the value
data, err := a.accountant.GetValue(in.Account, in.Key)
if err != nil {
log.Printf("Error: %s\n", err)