Skip to content

Commit

Permalink
Fixed default protocol on ocm-share-create
Browse files Browse the repository at this point in the history
  • Loading branch information
glpatcern committed Apr 4, 2023
1 parent a4f0127 commit 7fdee3a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/reva/ocm-share-create.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ func ocmShareCreateCommand() *command {
return errors.New("IdP cannot be empty: use -idp flag\n" + cmd.Usage())
}

if !*webdav && !*webapp && !*transfer {
*webdav = true
}

fn := cmd.Args()[0]

ctx := getAuthContext()
Expand Down

0 comments on commit 7fdee3a

Please sign in to comment.