aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorLewis Marshall <lewis@lmars.net>2017-06-06 15:39:10 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-06-06 15:39:10 +0800
commit1e9f86b49e523b9e0867abf1499de8fca4c7cd8d (patch)
tree5882161df22d7b56f8952e130df628e0d6d0c6ad /core
parent65ea913e29c2945d6af4f05d9f61db5fbd0dd126 (diff)
downloaddexon-1e9f86b49e523b9e0867abf1499de8fca4c7cd8d.tar
dexon-1e9f86b49e523b9e0867abf1499de8fca4c7cd8d.tar.gz
dexon-1e9f86b49e523b9e0867abf1499de8fca4c7cd8d.tar.bz2
dexon-1e9f86b49e523b9e0867abf1499de8fca4c7cd8d.tar.lz
dexon-1e9f86b49e523b9e0867abf1499de8fca4c7cd8d.tar.xz
dexon-1e9f86b49e523b9e0867abf1499de8fca4c7cd8d.tar.zst
dexon-1e9f86b49e523b9e0867abf1499de8fca4c7cd8d.zip
cmd/swarm: fix error handling in 'swarm up' (#14557)
The error returned by client.Upload was previously being ignored due to becoming out of scope outside the if statement. This has been fixed by instead defining a function which returns the hash and error (rather than trying to set the hash in each branch of the if statement).
Diffstat (limited to 'core')
0 files changed, 0 insertions, 0 deletions