good morning!!!!

Skip to content
Snippets Groups Projects
Commit 1e9f86b4 authored by Lewis Marshall's avatar Lewis Marshall Committed by Felix Lange
Browse files

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).
parent 65ea913e
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment