-
Notifications
You must be signed in to change notification settings - Fork 111
cmd/swarm: remove --no-track, add --progress flag #1850
Conversation
The 404 is because the |
@janos we also found a bug with the progress bar and an encrypted upload. I think the new |
@nonsense you'll need to remove the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the best option that we can do now.
If the API pointed to by
swarm up
doesn't supportpushsync
and the user hasn't added--no-track
, we currently get an error:Even with session affinity, the progress bar doesn't work with
pullsync
(default Swarm configuration) today.This PR is fixing this problem by falling back to
swarm up
functionality, which just displays thehash
of the upload. If the user knows that the API supportspushsync
, they can use--progress
to see the progress bar.