1
0
mirror of https://github.com/owncloud/ocis.git synced 2025-04-17 12:37:07 +03:00

Fix migrate rebuild-jsoncs3-indexes cli

This commit is contained in:
Roman Perekhod 2025-03-18 21:25:55 +01:00
parent a3d08f2542
commit 9b5c1d1082
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,6 @@
Bugfix: Fix migrate rebuild-jsoncs3-indexes cli
Fix migrate rebuild-jsoncs3-indexes cli
https://github.com/owncloud/ocis/pull/11145
https://github.com/owncloud/ocis/issues/11145

View File

@ -99,7 +99,7 @@ func RebuildJSONCS3Indexes(cfg *config.Config) *cli.Command {
err = errors.Wrap(err, "error creating a new manager")
return err
}
s, err := metadata.NewCS3Storage(conf.GatewayAddr, conf.ProviderAddr, conf.ServiceUserID, conf.ServiceUserIdp, conf.MachineAuthAPIKey)
s, err := metadata.NewCS3Storage(conf.ProviderAddr, conf.ProviderAddr, conf.ServiceUserID, conf.ServiceUserIdp, conf.MachineAuthAPIKey)
if err != nil {
return err
}