improve logging (#2004)

This commit is contained in:
littleskunk 2019-05-20 16:18:16 +02:00 committed by Stefan Benten
parent 09065b8dec
commit 8e023b8bbf

View File

@ -264,6 +264,8 @@ func (ec *ecClient) Repair(ctx context.Context, limits []*pb.AddressedOrderLimit
return nil, nil, Error.New("repair to all nodes failed")
}
zap.S().Infof("Successfully repaired %s to %d nodes.", path, atomic.LoadInt32(&successfulCount))
return successfulNodes, successfulHashes, nil
}