• Lewis Marshall's avatar
    cmd/swarm: fix error handling in 'swarm up' (#14557) · 1e9f86b4
    Lewis Marshall authored
    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).
    1e9f86b4
Name
Last commit
Last update
..
cleandb.go Loading commit data...
hash.go Loading commit data...
list.go Loading commit data...
main.go Loading commit data...
manifest.go Loading commit data...
upload.go Loading commit data...