Skip to content

Commit

Permalink
fix user share provider to use resource info instead of resource id (c…
Browse files Browse the repository at this point in the history
  • Loading branch information
labkode authored Aug 8, 2019
1 parent e6d2d0b commit 3dce4dc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions cs3/usershareprovider/v0alpha/usershareprovider.proto
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ message CreateShareRequest {
// Opaque information.
cs3.types.Opaque opaque = 1;
// REQUIRED.
// The unique identifier for the shared storage resource.
cs3.storageproviderv0alpha.ResourceId resource_id = 2;
// The information of the resource to be shared.
cs3.storageproviderv0alpha.ResourceInfo resource_info = 2;
// REQUIRED.
// The share grant for the share.
ShareGrant grant = 3;
Expand Down
6 changes: 3 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7516,11 +7516,11 @@ <h3 id="cs3.usershareproviderv0alpha.CreateShareRequest">CreateShareRequest</h3>
</tr>

<tr>
<td>resource_id</td>
<td><a href="#cs3.storageproviderv0alpha.ResourceId">cs3.storageproviderv0alpha.ResourceId</a></td>
<td>resource_info</td>
<td><a href="#cs3.storageproviderv0alpha.ResourceInfo">cs3.storageproviderv0alpha.ResourceInfo</a></td>
<td></td>
<td><p>REQUIRED.
The unique identifier for the shared storage resource. </p></td>
The information of the resource to be shared. </p></td>
</tr>

<tr>
Expand Down
8 changes: 4 additions & 4 deletions proto.lock
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,10 @@
"path": "cs3/appregistry/v0alpha/resources.proto"
},
{
"path": "cs3/storageprovider/v0alpha/resources.proto"
"path": "cs3/rpc/status.proto"
},
{
"path": "cs3/rpc/status.proto"
"path": "cs3/storageprovider/v0alpha/resources.proto"
},
{
"path": "cs3/types/types.proto"
Expand Down Expand Up @@ -3266,8 +3266,8 @@
},
{
"id": 2,
"name": "resource_id",
"type": "cs3.storageproviderv0alpha.ResourceId"
"name": "resource_info",
"type": "cs3.storageproviderv0alpha.ResourceInfo"
},
{
"id": 3,
Expand Down

0 comments on commit 3dce4dc

Please sign in to comment.