From aff6adf7914080e6c2f7fae1cc7245ccd301669c Mon Sep 17 00:00:00 2001 From: artaasadi Date: Fri, 21 Jun 2024 08:54:47 +0200 Subject: [PATCH] fix: change preferences --- plugin/preferences/default.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugin/preferences/default.go b/plugin/preferences/default.go index 15de420..b509f61 100644 --- a/plugin/preferences/default.go +++ b/plugin/preferences/default.go @@ -7,8 +7,9 @@ import ( var DefaultComputeEnginePreferences = []*golang.PreferenceItem{ {Service: "ComputeInstance", Key: "vCPU", IsNumber: true}, - //{Service: "ComputeInstance", Key: "Region", Pinned: true}, - {Service: "ComputeInstance", Key: "MachineFamily", Pinned: true}, + {Service: "ComputeInstance", Key: "Region", Pinned: true}, + {Service: "ComputeInstance", Key: "ExcludeCustomInstances", Value: wrapperspb.String("No"), PreventPinning: true, PossibleValues: []string{"No", "Yes"}}, + {Service: "ComputeInstance", Key: "MachineFamily", Pinned: false}, {Service: "ComputeInstance", Key: "MemoryGB", Alias: "Memory", IsNumber: true, Unit: "GiB"}, {Service: "ComputeInstance", Key: "CPUBreathingRoom", IsNumber: true, Value: wrapperspb.String("10"), PreventPinning: true, Unit: "%"}, {Service: "ComputeInstance", Key: "MemoryBreathingRoom", IsNumber: true, Value: wrapperspb.String("10"), PreventPinning: true, Unit: "%"},