aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils/customflags.go
diff options
context:
space:
mode:
authorLewis Marshall <lewis@lmars.net>2017-05-13 08:02:25 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-05-13 08:02:25 +0800
commitb0d0fafd68f526ceed98e59a423b6470f2327a21 (patch)
tree48e0f7286e0b2811e6e1bc5f319abea82012dcee /cmd/utils/customflags.go
parent90c7155ef41900babc5fd736224127f048e5c883 (diff)
downloadgo-tangerine-b0d0fafd68f526ceed98e59a423b6470f2327a21.tar.gz
go-tangerine-b0d0fafd68f526ceed98e59a423b6470f2327a21.tar.zst
go-tangerine-b0d0fafd68f526ceed98e59a423b6470f2327a21.zip
swarm/api: fix error reporting in api.Resolve (#14464)
Previously, resolve errors were being swallowed and the returned error was a generic "not a content hash" which isn't helpful. This updates the Resolve function to fail fast rather than only returning an error at the end, and also adds test coverage.
Diffstat (limited to 'cmd/utils/customflags.go')
0 files changed, 0 insertions, 0 deletions