bump reva, change decomposeds3 drivername
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
Generated
Vendored
+3
-3
@@ -16,21 +16,21 @@
|
||||
// granted to it by virtue of its status as an Intergovernmental Organization
|
||||
// or submit itself to any jurisdiction.
|
||||
|
||||
package decomposed_s3
|
||||
package decomposeds3
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/opencloud-eu/reva/v2/pkg/events"
|
||||
"github.com/opencloud-eu/reva/v2/pkg/storage"
|
||||
"github.com/opencloud-eu/reva/v2/pkg/storage/fs/decomposed_s3/blobstore"
|
||||
"github.com/opencloud-eu/reva/v2/pkg/storage/fs/decomposeds3/blobstore"
|
||||
"github.com/opencloud-eu/reva/v2/pkg/storage/fs/registry"
|
||||
"github.com/opencloud-eu/reva/v2/pkg/storage/pkg/decomposedfs"
|
||||
"github.com/rs/zerolog"
|
||||
)
|
||||
|
||||
func init() {
|
||||
registry.Register("decomposed_s3", New)
|
||||
registry.Register("decomposeds3", New)
|
||||
}
|
||||
|
||||
// New returns an implementation to of the storage.FS interface that talk to
|
||||
Generated
Vendored
+1
-1
@@ -16,7 +16,7 @@
|
||||
// granted to it by virtue of its status as an Intergovernmental Organization
|
||||
// or submit itself to any jurisdiction.
|
||||
|
||||
package decomposed_s3
|
||||
package decomposeds3
|
||||
|
||||
import (
|
||||
"github.com/mitchellh/mapstructure"
|
||||
+1
-1
@@ -23,7 +23,7 @@ import (
|
||||
_ "github.com/opencloud-eu/reva/v2/pkg/ocm/storage/received"
|
||||
_ "github.com/opencloud-eu/reva/v2/pkg/storage/fs/cephfs"
|
||||
_ "github.com/opencloud-eu/reva/v2/pkg/storage/fs/decomposed"
|
||||
_ "github.com/opencloud-eu/reva/v2/pkg/storage/fs/decomposed_s3"
|
||||
_ "github.com/opencloud-eu/reva/v2/pkg/storage/fs/decomposeds3"
|
||||
_ "github.com/opencloud-eu/reva/v2/pkg/storage/fs/eos"
|
||||
_ "github.com/opencloud-eu/reva/v2/pkg/storage/fs/eosgrpc"
|
||||
_ "github.com/opencloud-eu/reva/v2/pkg/storage/fs/eosgrpchome"
|
||||
|
||||
+1
-1
@@ -807,7 +807,7 @@ func (fs *Decomposedfs) DeleteStorageSpace(ctx context.Context, req *provider.De
|
||||
}
|
||||
|
||||
// the value of `target` depends on the implementation:
|
||||
// - for decomposedfs/s3ng it is the relative link to the space root
|
||||
// - for decomposedfs/decomposeds3 it is the relative link to the space root
|
||||
// - for the posixfs it is the node id
|
||||
func (fs *Decomposedfs) updateIndexes(ctx context.Context, grantee *provider.Grantee, spaceType, spaceID, nodeID string) error {
|
||||
target := fs.tp.BuildSpaceIDIndexEntry(spaceID, nodeID)
|
||||
|
||||
Generated
Vendored
+1
-1
@@ -195,7 +195,7 @@ func (tp *Tree) DownloadRevision(ctx context.Context, ref *provider.Reference, r
|
||||
BaseNode: node.BaseNode{SpaceID: spaceID},
|
||||
BlobID: blobid,
|
||||
Blobsize: blobsize,
|
||||
} // blobsize is needed for the s3ng blobstore
|
||||
} // blobsize is needed for the decomposeds3 blobstore
|
||||
|
||||
ri, err := n.AsResourceInfo(ctx, rp, nil, []string{"size", "mimetype", "etag"}, true)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user