Skip to content

Commit

Permalink
Also adapt cephfs to the changed signature
Browse files Browse the repository at this point in the history
  • Loading branch information
aduffeck committed Nov 18, 2024
1 parent b73a53a commit 126928c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/storage/fs/cephfs/cephfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ import (
provider "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1"
"github.com/mitchellh/mapstructure"
"github.com/pkg/errors"
"github.com/rs/zerolog"

"github.com/cs3org/reva/v2/pkg/appctx"
"github.com/cs3org/reva/v2/pkg/errtypes"
Expand Down Expand Up @@ -66,7 +67,7 @@ func init() {

// New returns an implementation to of the storage.FS interface that talk to
// a ceph filesystem.
func New(m map[string]interface{}, _ events.Stream) (fs storage.FS, err error) {
func New(m map[string]interface{}, _ events.Stream, _ *zerolog.Logger) (fs storage.FS, err error) {
c := &Options{}
if err = mapstructure.Decode(m, c); err != nil {
return nil, errors.Wrap(err, "error decoding conf")
Expand Down

0 comments on commit 126928c

Please sign in to comment.