File tree Expand file tree Collapse file tree 5 files changed +12
-12
lines changed
Expand file tree Collapse file tree 5 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -179,10 +179,10 @@ func TestOutputResult(t *testing.T) {
179179 },
180180 options : & ske.ProviderOptions {
181181 AvailabilityZones : & []ske.AvailabilityZone {
182- ske. AvailabilityZone {
182+ {
183183 Name : utils .Ptr ("zone1" ),
184184 },
185- ske. AvailabilityZone {
185+ {
186186 Name : utils .Ptr ("zone2" ),
187187 },
188188 },
Original file line number Diff line number Diff line change @@ -200,15 +200,15 @@ func TestOutputResult(t *testing.T) {
200200 },
201201 options : & ske.ProviderOptions {
202202 KubernetesVersions : & []ske.KubernetesVersion {
203- ske. KubernetesVersion {
203+ {
204204 FeatureGates : & map [string ]string {
205205 "featureGate1" : "foo" ,
206206 "featureGate2" : "bar" ,
207207 },
208208 State : utils .Ptr ("supported" ),
209209 Version : utils .Ptr ("0.00.0" ),
210210 },
211- ske. KubernetesVersion {
211+ {
212212 ExpirationDate : utils .Ptr (time .Now ()),
213213 State : utils .Ptr ("deprecated" ),
214214 Version : utils .Ptr ("0.00.0" ),
Original file line number Diff line number Diff line change @@ -180,12 +180,12 @@ func TestOutputResult(t *testing.T) {
180180 },
181181 options : & ske.ProviderOptions {
182182 MachineImages : & []ske.MachineImage {
183- ske. MachineImage {
183+ {
184184 Name : utils .Ptr ("image1" ),
185185 Versions : & []ske.MachineImageVersion {
186- ske. MachineImageVersion {
186+ {
187187 Cri : & []ske.CRI {
188- ske. CRI {
188+ {
189189 Name : ske .CRINAME_CONTAINERD .Ptr (),
190190 },
191191 },
@@ -195,7 +195,7 @@ func TestOutputResult(t *testing.T) {
195195 },
196196 },
197197 },
198- ske. MachineImage {
198+ {
199199 Name : utils .Ptr ("zone2" ),
200200 },
201201 },
Original file line number Diff line number Diff line change @@ -179,14 +179,14 @@ func TestOutputResult(t *testing.T) {
179179 },
180180 options : & ske.ProviderOptions {
181181 MachineTypes : & []ske.MachineType {
182- ske. MachineType {
182+ {
183183 Architecture : utils .Ptr ("amd64" ),
184184 Cpu : utils .Ptr (int64 (2 )),
185185 Gpu : utils .Ptr (int64 (0 )),
186186 Memory : utils .Ptr (int64 (16 )),
187187 Name : utils .Ptr ("type1" ),
188188 },
189- ske. MachineType {
189+ {
190190 Architecture : utils .Ptr ("amd64" ),
191191 Cpu : utils .Ptr (int64 (2 )),
192192 Gpu : utils .Ptr (int64 (0 )),
Original file line number Diff line number Diff line change @@ -179,10 +179,10 @@ func TestOutputResult(t *testing.T) {
179179 },
180180 options : & ske.ProviderOptions {
181181 VolumeTypes : & []ske.VolumeType {
182- ske. VolumeType {
182+ {
183183 Name : utils .Ptr ("type1" ),
184184 },
185- ske. VolumeType {
185+ {
186186 Name : utils .Ptr ("type2" ),
187187 },
188188 },
You can’t perform that action at this time.
0 commit comments