adm: Fix method nnsResolveKey
#89
No reviewers
Labels
No labels
P0
P1
P2
P3
badger
frostfs-adm
frostfs-cli
frostfs-ir
frostfs-lens
frostfs-node
good first issue
triage
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#89
Loading…
Reference in a new issue
No description provided.
Delete branch "acid-ant/frostfs-node:bugfix/adm-contract-upd"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Close #88
Signed-off-by: Anton Nikiforov an.nikiforov@yadro.com
@ -226,2 +229,2 @@
func nnsResolve(inv *invoker.Invoker, nnsHash util.Uint160, domain string) (stackitem.Item, error) {
return unwrap.Item(inv.Call(nnsHash, "resolve", domain, int64(nns.TXT)))
func nnsResolve(inv *invoker.Invoker, nnsHash util.Uint160, domain string) ([]stackitem.Item, error) {
return unwrap.Array(inv.Call(nnsHash, "resolve", domain, int64(nns.TXT)))
What happens if we have zero records? Is it Null or an empty array?
63398c3158
toe4a8c4aad2
e4a8c4aad2
to469c1ea477
469c1ea477
to7486c02bbc
adm: Fix methodto adm: Fix methodnnsResolve
nnsResolveKey