Merge pull request #11490 from owncloud/backport-OCISDEV-141
Backport [OCISDEV-141]
This commit is contained in:
3 files changed
+7
-5
No files matched your search
@@ -0,0 +1,6 @@
|
||||
Bugfix: Fix storage-users cli
|
||||
|
||||
Fix storage-users uploads --resume command.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/11464
|
||||
https://github.com/owncloud/ocis/issues/11290
|
||||
@@ -131,7 +131,7 @@ func ListUploadSessions(cfg *config.Config) *cli.Command {
|
||||
}
|
||||
|
||||
var stream events.Stream
|
||||
if c.Bool("restart") {
|
||||
if c.Bool("restart") || c.Bool("resume") {
|
||||
stream, err = event.NewStream(cfg)
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Failed to create event stream: %v\n", err)
|
||||
|
||||
@@ -393,9 +393,5 @@ The expected failures in this file are from features in the owncloud/ocis repo.
|
||||
|
||||
- [apiSharingNgDriveLinkShare/createInternalLinkShare.feature:339](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSharingNgDriveLinkShare/createInternalLinkShare.feature#L339)
|
||||
|
||||
#### [[CLI] Error while resuming an upload](https://github.com/owncloud/ocis/issues/11290)
|
||||
|
||||
- [cliCommands/uploadSessions.feature:162](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/cliCommands/uploadSessions.feature#L162)
|
||||
|
||||
Note: always have an empty line at the end of this file.
|
||||
The bash script that processes this file requires that the last line has a newline on the end.
|
||||
Reference in new issue
Block a user