Unverified Commit 000c4a39 authored by Jakub Sztandera's avatar Jakub Sztandera Committed by GitHub

Merge pull request #123 from ridewindx/master

Set KeysOnly field of query condition to true for Datastore.Query(), then it will query only keys.
parents 31c5e053 47e3454f
......@@ -214,7 +214,7 @@ func (pm *ProviderManager) deleteProvSet(k *cid.Cid) error {
func (pm *ProviderManager) getProvKeys() (func() (*cid.Cid, bool), error) {
res, err := pm.dstore.Query(dsq.Query{
KeysOnly: false,
KeysOnly: true,
Prefix: providersKeyPrefix,
})
if err != nil {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment