From cdde074d09e988e8ffa832b8941d46241245aafb Mon Sep 17 00:00:00 2001 From: Joel Longtine Date: Fri, 18 Feb 2022 16:22:43 -0700 Subject: [PATCH] Remove `europa` flag Signed-off-by: Joel Longtine --- cmd/dagger/cmd/root.go | 2 -- cmd/dagger/cmd/up.go | 15 +++++---------- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/cmd/dagger/cmd/root.go b/cmd/dagger/cmd/root.go index 809a5c80..4d0f4cb1 100644 --- a/cmd/dagger/cmd/root.go +++ b/cmd/dagger/cmd/root.go @@ -33,8 +33,6 @@ func init() { rootCmd.PersistentFlags().String("project", "", "Specify a project directory (defaults to current)") - rootCmd.PersistentFlags().Bool("europa", false, "Enable experiemental Europa UX") - rootCmd.PersistentPreRun = func(cmd *cobra.Command, _ []string) { lg := logger.New() ctx := lg.WithContext(cmd.Context()) diff --git a/cmd/dagger/cmd/up.go b/cmd/dagger/cmd/up.go index f1123507..d62c1108 100644 --- a/cmd/dagger/cmd/up.go +++ b/cmd/dagger/cmd/up.go @@ -50,19 +50,14 @@ var upCmd = &cobra.Command{ ctx := lg.WithContext(cmd.Context()) cl := common.NewClient(ctx) - if viper.GetBool("europa") { - err = europaUp(ctx, cl, args...) + err = europaUp(ctx, cl, args...) - // TODO: rework telemetry - // <-doneCh + // TODO: rework telemetry + // <-doneCh - if err != nil { - lg.Fatal().Err(err).Msg("failed to up environment") - } - - return + if err != nil { + lg.Fatal().Err(err).Msg("failed to up environment") } - }, }