From 6f4b300bbce5a51982dcd7a0f17a24e6f82639ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Duffeck?= Date: Tue, 8 Aug 2023 14:07:42 +0200 Subject: [PATCH] Remove subcommand from rebuild-jsoncs3-indexes that doesn't belong there --- ocis/pkg/command/migrate.go | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/ocis/pkg/command/migrate.go b/ocis/pkg/command/migrate.go index 349aa48bf1..a9bcde6741 100644 --- a/ocis/pkg/command/migrate.go +++ b/ocis/pkg/command/migrate.go @@ -62,12 +62,10 @@ func init() { // RebuildJSONCS3Indexes rebuilds the share indexes from the shares json func RebuildJSONCS3Indexes(cfg *config.Config) *cli.Command { return &cli.Command{ - Name: "rebuild-jsoncs3-indexes", - Usage: "rebuild the share indexes from the shares json", - Subcommands: []*cli.Command{ - ListDecomposedfsMigrations(cfg), - }, - Flags: []cli.Flag{}, + Name: "rebuild-jsoncs3-indexes", + Usage: "rebuild the share indexes from the shares json", + Subcommands: []*cli.Command{}, + Flags: []cli.Flag{}, Before: func(c *cli.Context) error { // Parse base config if err := parser.ParseConfig(cfg, true); err != nil {