Skip to content

Commit

Permalink
fix: remove console output from migration (#376)
Browse files Browse the repository at this point in the history
Removes extra console logging
  • Loading branch information
achingbrain authored Jan 19, 2022
1 parent d75379e commit b383845
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,14 @@ async function storePeerUnderSingleDatastoreKey (backends, onProgress = () => {}
const [_, prefix, type, peerId, metadataKey] = keyStr.split('/')

if (prefix !== 'peers') {
console.info('unknown prefix', prefix)
continue
}

if (!['protos', 'addrs', 'metadata', 'keys'].includes(type)) {
console.info('unknown type', type)
continue
}

if (!peerId) {
console.info('no peerid')
continue
}

Expand Down

0 comments on commit b383845

Please sign in to comment.