Remove europa flag

Signed-off-by: Joel Longtine <joel@dagger.io>
This commit is contained in:
Joel Longtine 2022-02-18 16:22:43 -07:00
parent e9b7519402
commit cdde074d09
2 changed files with 5 additions and 12 deletions

View File

@ -33,8 +33,6 @@ func init() {
rootCmd.PersistentFlags().String("project", "", "Specify a project directory (defaults to current)") 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) { rootCmd.PersistentPreRun = func(cmd *cobra.Command, _ []string) {
lg := logger.New() lg := logger.New()
ctx := lg.WithContext(cmd.Context()) ctx := lg.WithContext(cmd.Context())

View File

@ -50,19 +50,14 @@ var upCmd = &cobra.Command{
ctx := lg.WithContext(cmd.Context()) ctx := lg.WithContext(cmd.Context())
cl := common.NewClient(ctx) cl := common.NewClient(ctx)
if viper.GetBool("europa") { err = europaUp(ctx, cl, args...)
err = europaUp(ctx, cl, args...)
// TODO: rework telemetry // TODO: rework telemetry
// <-doneCh // <-doneCh
if err != nil { if err != nil {
lg.Fatal().Err(err).Msg("failed to up environment") lg.Fatal().Err(err).Msg("failed to up environment")
}
return
} }
}, },
} }