From 938444a08406d5e4454a92ea116a0587c0e5f81d Mon Sep 17 00:00:00 2001 From: Joel Longtine Date: Fri, 28 Jan 2022 10:09:38 -0700 Subject: [PATCH] Remove project + Project telemetry Signed-off-by: Joel Longtine --- cmd/dagger/cmd/mod/get.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/cmd/dagger/cmd/mod/get.go b/cmd/dagger/cmd/mod/get.go index 08ae1efa..60ee43c2 100644 --- a/cmd/dagger/cmd/mod/get.go +++ b/cmd/dagger/cmd/mod/get.go @@ -3,12 +3,10 @@ package mod import ( "github.com/spf13/cobra" "github.com/spf13/viper" - "go.dagger.io/dagger/cmd/dagger/cmd/common" "go.dagger.io/dagger/cmd/dagger/logger" "go.dagger.io/dagger/mod" "go.dagger.io/dagger/pkg" "go.dagger.io/dagger/state" - "go.dagger.io/dagger/telemetry" ) var getCmd = &cobra.Command{ @@ -29,17 +27,12 @@ var getCmd = &cobra.Command{ var err error - project := common.CurrentProject(ctx) cueModPath := pkg.GetCueModParent() // err = pkg.CueModInit(ctx, cueModPath) _, err = state.Init(ctx, cueModPath) if err != nil && err != state.ErrAlreadyInit { lg.Fatal().Err(err).Msg("failed to initialize cue.mod") } - doneCh := common.TrackProjectCommand(ctx, cmd, project, nil, &telemetry.Property{ - Name: "packages", - Value: args, - }) var update = viper.GetBool("update") @@ -68,7 +61,6 @@ var getCmd = &cobra.Command{ lg.Error().Err(err).Msg("error installing/updating packages") } - <-doneCh }, }