diff --git a/.bingo/Variables.mk b/.bingo/Variables.mk index f442f5340b..5807bf9f12 100644 --- a/.bingo/Variables.mk +++ b/.bingo/Variables.mk @@ -100,3 +100,4 @@ $(REFLEX): $(BINGO_DIR)/reflex.mod @# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies. @echo "(re)installing $(GOBIN)/reflex-v0.3.1" @cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=reflex.mod -o=$(GOBIN)/reflex-v0.3.1 "github.com/cespare/reflex" + diff --git a/.bingo/variables.env b/.bingo/variables.env index 1deb407f41..19edcff1c7 100644 --- a/.bingo/variables.env +++ b/.bingo/variables.env @@ -35,3 +35,4 @@ PROTOC_GEN_MICROWEB="${GOBIN}/protoc-gen-microweb-v0.0.0-20211219183901-997c02ca PROTOC_GEN_OPENAPIV2="${GOBIN}/protoc-gen-openapiv2-v2.7.2" REFLEX="${GOBIN}/reflex-v0.3.1" + diff --git a/storage/pkg/command/sharing.go b/storage/pkg/command/sharing.go index 45f08752a2..c6364d191c 100644 --- a/storage/pkg/command/sharing.go +++ b/storage/pkg/command/sharing.go @@ -121,7 +121,8 @@ func sharingConfigFromStruct(c *cli.Context, cfg *config.Config) map[string]inte "driver": cfg.Reva.Sharing.UserDriver, "drivers": map[string]interface{}{ "json": map[string]interface{}{ - "file": cfg.Reva.Sharing.UserJSONFile, + "file": cfg.Reva.Sharing.UserJSONFile, + "gateway_addr": cfg.Reva.Gateway.Endpoint, }, "sql": map[string]interface{}{ // cernbox sql "db_username": cfg.Reva.Sharing.UserSQLUsername,