diff --git a/pkg/crc/machine/start.go b/pkg/crc/machine/start.go index 6c74a4bcd0..a338e4ee53 100644 --- a/pkg/crc/machine/start.go +++ b/pkg/crc/machine/start.go @@ -269,7 +269,6 @@ func (client *client) Start(ctx context.Context, startConfig types.StartConfig) telemetry.SetCPUs(ctx, startConfig.CPUs) telemetry.SetMemory(ctx, uint64(startConfig.Memory)*1024*1024) telemetry.SetDiskSize(ctx, uint64(startConfig.DiskSize)*1024*1024*1024) - telemetry.SetPreset(ctx, startConfig.Preset) if err := client.validateStartConfig(startConfig); err != nil { return nil, err diff --git a/pkg/crc/telemetry/telemetry.go b/pkg/crc/telemetry/telemetry.go index 9879b76c6b..338b6c0208 100644 --- a/pkg/crc/telemetry/telemetry.go +++ b/pkg/crc/telemetry/telemetry.go @@ -7,7 +7,6 @@ import ( "sync" "github.com/crc-org/crc/pkg/crc/constants" - crcpreset "github.com/crc-org/crc/pkg/crc/preset" ) type contextKey struct{} @@ -78,10 +77,6 @@ func SetConfigurationKey(ctx context.Context, value string) { setContextProperty(ctx, "key", value) } -func SetPreset(ctx context.Context, value crcpreset.Preset) { - setContextProperty(ctx, "preset", value) -} - func SetStartType(ctx context.Context, value StartType) { setContextProperty(ctx, "start-type", value) }