From 7251df7e0450f7cdc158e41c58aa3393e48a84b6 Mon Sep 17 00:00:00 2001 From: aeneasr <3372410+aeneasr@users.noreply.github.com> Date: Wed, 27 Nov 2024 12:24:44 +0100 Subject: [PATCH] chore: synchronize workspaces --- cmd/migrate_sql.go | 3 ++- cmd/migrate_sql_down.go | 3 ++- cmd/migrate_sql_status.go | 5 +++-- cmd/migrate_sql_up.go | 3 ++- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/cmd/migrate_sql.go b/cmd/migrate_sql.go index e4b9dd6ca1..d09489bde3 100644 --- a/cmd/migrate_sql.go +++ b/cmd/migrate_sql.go @@ -4,11 +4,12 @@ package cmd import ( + "github.com/spf13/cobra" + "github.com/ory/hydra/v2/cmd/cli" "github.com/ory/hydra/v2/driver" "github.com/ory/x/configx" "github.com/ory/x/servicelocatorx" - "github.com/spf13/cobra" ) func NewMigrateSQLCmd(slOpts []servicelocatorx.Option, dOpts []driver.OptionsModifier, cOpts []configx.OptionModifier) *cobra.Command { diff --git a/cmd/migrate_sql_down.go b/cmd/migrate_sql_down.go index 4314a27d02..b2c4b37cc7 100644 --- a/cmd/migrate_sql_down.go +++ b/cmd/migrate_sql_down.go @@ -4,12 +4,13 @@ package cmd import ( + "github.com/spf13/cobra" + "github.com/ory/hydra/v2/cmd/cli" "github.com/ory/hydra/v2/driver" "github.com/ory/x/configx" "github.com/ory/x/popx" "github.com/ory/x/servicelocatorx" - "github.com/spf13/cobra" ) func NewMigrateSQLDownCmd(slOpts []servicelocatorx.Option, dOpts []driver.OptionsModifier, cOpts []configx.OptionModifier) *cobra.Command { diff --git a/cmd/migrate_sql_status.go b/cmd/migrate_sql_status.go index 65515eaa87..8e4d6768ae 100644 --- a/cmd/migrate_sql_status.go +++ b/cmd/migrate_sql_status.go @@ -4,14 +4,15 @@ package cmd import ( + "github.com/spf13/cobra" + "github.com/ory/hydra/v2/cmd/cli" "github.com/ory/hydra/v2/driver" "github.com/ory/x/configx" "github.com/ory/x/popx" "github.com/ory/x/servicelocatorx" - "github.com/spf13/cobra" ) func NewMigrateSQLStatusCmd(slOpts []servicelocatorx.Option, dOpts []driver.OptionsModifier, cOpts []configx.OptionModifier) *cobra.Command { - return popx.NewMigrateStatusCmd("hydra", cli.NewHandler(slOpts, dOpts, cOpts).Migration.MigrateStatus) + return popx.NewMigrateSQLStatusCmd("hydra", cli.NewHandler(slOpts, dOpts, cOpts).Migration.MigrateStatus) } diff --git a/cmd/migrate_sql_up.go b/cmd/migrate_sql_up.go index 643e1d9e9e..a07afd383f 100644 --- a/cmd/migrate_sql_up.go +++ b/cmd/migrate_sql_up.go @@ -4,12 +4,13 @@ package cmd import ( + "github.com/spf13/cobra" + "github.com/ory/hydra/v2/cmd/cli" "github.com/ory/hydra/v2/driver" "github.com/ory/x/configx" "github.com/ory/x/popx" "github.com/ory/x/servicelocatorx" - "github.com/spf13/cobra" ) func NewMigrateSQLUpCmd(slOpts []servicelocatorx.Option, dOpts []driver.OptionsModifier, cOpts []configx.OptionModifier) *cobra.Command {