fix: issue #2644 properly (#2663)

This commit is contained in:
Prem Chaitanya Prathi 2024-05-03 13:40:20 +05:30 committed by GitHub
parent 404810aa8d
commit 853ec1869e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ proc enrConfiguration*(
let shardsRes = topicsToRelayShards(conf.pubsubTopics)
if shardsRes.isOk() and shardsRes.get().isSome():
shardsLocal = shardsRes.get().get().shardIds
elif not shardsRes.get().isNone():
elif shardsRes.get().isNone():
info "no pubsub topics specified or pubsubtopic is of type Named sharding "
else:
error "failed to parse pubsub topic, please format according to static shard specification",