Skip to content

Commit da4fc35

Browse files
chore: fix useless new line (#4611)
Co-authored-by: Rémy Léone <rleone@scaleway.com>
1 parent 05d3e8f commit da4fc35

File tree

36 files changed

+0
-792
lines changed

36 files changed

+0
-792
lines changed

internal/namespaces/account/v3/account_cli.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ func accountProjectCreate() *core.Command {
7878
client := core.ExtractClient(ctx)
7979
api := account.NewProjectAPI(client)
8080
return api.CreateProject(request)
81-
8281
},
8382
}
8483
}
@@ -128,7 +127,6 @@ func accountProjectList() *core.Command {
128127
return nil, err
129128
}
130129
return resp.Projects, nil
131-
132130
},
133131
}
134132
}
@@ -151,7 +149,6 @@ func accountProjectGet() *core.Command {
151149
client := core.ExtractClient(ctx)
152150
api := account.NewProjectAPI(client)
153151
return api.GetProject(request)
154-
155152
},
156153
}
157154
}
@@ -217,7 +214,6 @@ func accountProjectUpdate() *core.Command {
217214
client := core.ExtractClient(ctx)
218215
api := account.NewProjectAPI(client)
219216
return api.UpdateProject(request)
220-
221217
},
222218
}
223219
}

internal/namespaces/applesilicon/v1alpha1/applesilicon_cli.go

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ func appleSiliconServerTypeList() *core.Command {
108108
client := core.ExtractClient(ctx)
109109
api := applesilicon.NewAPI(client)
110110
return api.ListServerTypes(request)
111-
112111
},
113112
}
114113
}
@@ -138,7 +137,6 @@ func appleSiliconServerTypeGet() *core.Command {
138137
client := core.ExtractClient(ctx)
139138
api := applesilicon.NewAPI(client)
140139
return api.GetServerType(request)
141-
142140
},
143141
}
144142
}
@@ -199,7 +197,6 @@ func appleSiliconServerCreate() *core.Command {
199197
client := core.ExtractClient(ctx)
200198
api := applesilicon.NewAPI(client)
201199
return api.CreateServer(request)
202-
203200
},
204201
}
205202
}
@@ -253,7 +250,6 @@ func appleSiliconServerList() *core.Command {
253250
return nil, err
254251
}
255252
return resp.Servers, nil
256-
257253
},
258254
}
259255
}
@@ -299,7 +295,6 @@ func appleSiliconOsList() *core.Command {
299295
return nil, err
300296
}
301297
return resp.Os, nil
302-
303298
},
304299
}
305300
}
@@ -329,7 +324,6 @@ func appleSiliconOsGet() *core.Command {
329324
client := core.ExtractClient(ctx)
330325
api := applesilicon.NewAPI(client)
331326
return api.GetOS(request)
332-
333327
},
334328
}
335329
}
@@ -359,7 +353,6 @@ func appleSiliconServerGet() *core.Command {
359353
client := core.ExtractClient(ctx)
360354
api := applesilicon.NewAPI(client)
361355
return api.GetServer(request)
362-
363356
},
364357
}
365358
}
@@ -417,7 +410,6 @@ func appleSiliconServerUpdate() *core.Command {
417410
client := core.ExtractClient(ctx)
418411
api := applesilicon.NewAPI(client)
419412
return api.UpdateServer(request)
420-
421413
},
422414
}
423415
}
@@ -483,7 +475,6 @@ func appleSiliconServerReboot() *core.Command {
483475
client := core.ExtractClient(ctx)
484476
api := applesilicon.NewAPI(client)
485477
return api.RebootServer(request)
486-
487478
},
488479
}
489480
}
@@ -520,7 +511,6 @@ func appleSiliconServerReinstall() *core.Command {
520511
client := core.ExtractClient(ctx)
521512
api := applesilicon.NewAPI(client)
522513
return api.ReinstallServer(request)
523-
524514
},
525515
}
526516
}
@@ -564,7 +554,6 @@ func appleSiliconPrivateNetworkAdd() *core.Command {
564554
client := core.ExtractClient(ctx)
565555
api := applesilicon.NewPrivateNetworkAPI(client)
566556
return api.AddServerPrivateNetwork(request)
567-
568557
},
569558
}
570559
}
@@ -601,7 +590,6 @@ func appleSiliconPrivateNetworkSet() *core.Command {
601590
client := core.ExtractClient(ctx)
602591
api := applesilicon.NewPrivateNetworkAPI(client)
603592
return api.SetServerPrivateNetworks(request)
604-
605593
},
606594
}
607595
}
@@ -676,7 +664,6 @@ func appleSiliconPrivateNetworkList() *core.Command {
676664
return nil, err
677665
}
678666
return resp.ServerPrivateNetworks, nil
679-
680667
},
681668
}
682669
}

internal/namespaces/audit_trail/v1alpha1/audit_trail_cli.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ func auditTrailEventList() *core.Command {
147147
client := core.ExtractClient(ctx)
148148
api := audit_trail.NewAPI(client)
149149
return api.ListEvents(request)
150-
151150
},
152151
}
153152
}
@@ -171,7 +170,6 @@ func auditTrailProductList() *core.Command {
171170
client := core.ExtractClient(ctx)
172171
api := audit_trail.NewAPI(client)
173172
return api.ListProducts(request)
174-
175173
},
176174
}
177175
}

internal/namespaces/baremetal/v1/baremetal_cli.go

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,6 @@ func baremetalServerList() *core.Command {
228228
return nil, err
229229
}
230230
return resp.Servers, nil
231-
232231
},
233232
Examples: []*core.Example{
234233
{
@@ -264,7 +263,6 @@ func baremetalServerGet() *core.Command {
264263
client := core.ExtractClient(ctx)
265264
api := baremetal.NewAPI(client)
266265
return api.GetServer(request)
267-
268266
},
269267
Examples: []*core.Example{
270268
{
@@ -479,7 +477,6 @@ func baremetalServerCreate() *core.Command {
479477
client := core.ExtractClient(ctx)
480478
api := baremetal.NewAPI(client)
481479
return api.CreateServer(request)
482-
483480
},
484481
Examples: []*core.Example{
485482
{
@@ -536,7 +533,6 @@ func baremetalServerUpdate() *core.Command {
536533
client := core.ExtractClient(ctx)
537534
api := baremetal.NewAPI(client)
538535
return api.UpdateServer(request)
539-
540536
},
541537
}
542538
}
@@ -715,7 +711,6 @@ func baremetalServerInstall() *core.Command {
715711
client := core.ExtractClient(ctx)
716712
api := baremetal.NewAPI(client)
717713
return api.InstallServer(request)
718-
719714
},
720715
Examples: []*core.Example{
721716
{
@@ -765,7 +760,6 @@ func baremetalServerGetMetrics() *core.Command {
765760
client := core.ExtractClient(ctx)
766761
api := baremetal.NewAPI(client)
767762
return api.GetServerMetrics(request)
768-
769763
},
770764
}
771765
}
@@ -795,7 +789,6 @@ func baremetalServerDelete() *core.Command {
795789
client := core.ExtractClient(ctx)
796790
api := baremetal.NewAPI(client)
797791
return api.DeleteServer(request)
798-
799792
},
800793
Examples: []*core.Example{
801794
{
@@ -839,7 +832,6 @@ func baremetalServerReboot() *core.Command {
839832
client := core.ExtractClient(ctx)
840833
api := baremetal.NewAPI(client)
841834
return api.RebootServer(request)
842-
843835
},
844836
Examples: []*core.Example{
845837
{
@@ -887,7 +879,6 @@ func baremetalServerStart() *core.Command {
887879
client := core.ExtractClient(ctx)
888880
api := baremetal.NewAPI(client)
889881
return api.StartServer(request)
890-
891882
},
892883
Examples: []*core.Example{
893884
{
@@ -927,7 +918,6 @@ func baremetalServerStop() *core.Command {
927918
client := core.ExtractClient(ctx)
928919
api := baremetal.NewAPI(client)
929920
return api.StopServer(request)
930-
931921
},
932922
Examples: []*core.Example{
933923
{
@@ -980,7 +970,6 @@ func baremetalServerListEvents() *core.Command {
980970
return nil, err
981971
}
982972
return resp.Events, nil
983-
984973
},
985974
}
986975
}
@@ -1020,7 +1009,6 @@ After adding the BMC option, you need to Get Remote Access to get the login/pass
10201009
client := core.ExtractClient(ctx)
10211010
api := baremetal.NewAPI(client)
10221011
return api.StartBMCAccess(request)
1023-
10241012
},
10251013
}
10261014
}
@@ -1050,7 +1038,6 @@ func baremetalBmcGet() *core.Command {
10501038
client := core.ExtractClient(ctx)
10511039
api := baremetal.NewAPI(client)
10521040
return api.GetBMCAccess(request)
1053-
10541041
},
10551042
}
10561043
}
@@ -1130,7 +1117,6 @@ func baremetalServerUpdateIP() *core.Command {
11301117
client := core.ExtractClient(ctx)
11311118
api := baremetal.NewAPI(client)
11321119
return api.UpdateIP(request)
1133-
11341120
},
11351121
}
11361122
}
@@ -1174,7 +1160,6 @@ func baremetalOptionsAdd() *core.Command {
11741160
client := core.ExtractClient(ctx)
11751161
api := baremetal.NewAPI(client)
11761162
return api.AddOptionServer(request)
1177-
11781163
},
11791164
Examples: []*core.Example{
11801165
{
@@ -1217,7 +1202,6 @@ func baremetalOptionsDelete() *core.Command {
12171202
client := core.ExtractClient(ctx)
12181203
api := baremetal.NewAPI(client)
12191204
return api.DeleteOptionServer(request)
1220-
12211205
},
12221206
Examples: []*core.Example{
12231207
{
@@ -1270,7 +1254,6 @@ func baremetalOfferList() *core.Command {
12701254
return nil, err
12711255
}
12721256
return resp.Offers, nil
1273-
12741257
},
12751258
Examples: []*core.Example{
12761259
{
@@ -1310,7 +1293,6 @@ func baremetalOfferGet() *core.Command {
13101293
client := core.ExtractClient(ctx)
13111294
api := baremetal.NewAPI(client)
13121295
return api.GetOffer(request)
1313-
13141296
},
13151297
Examples: []*core.Example{
13161298
{
@@ -1346,7 +1328,6 @@ func baremetalOptionsGet() *core.Command {
13461328
client := core.ExtractClient(ctx)
13471329
api := baremetal.NewAPI(client)
13481330
return api.GetOption(request)
1349-
13501331
},
13511332
Examples: []*core.Example{
13521333
{
@@ -1398,7 +1379,6 @@ func baremetalOptionsList() *core.Command {
13981379
return nil, err
13991380
}
14001381
return resp.Options, nil
1401-
14021382
},
14031383
Examples: []*core.Example{
14041384
{
@@ -1455,7 +1435,6 @@ func baremetalSettingsList() *core.Command {
14551435
return nil, err
14561436
}
14571437
return resp.Settings, nil
1458-
14591438
},
14601439
}
14611440
}
@@ -1492,7 +1471,6 @@ func baremetalSettingsUpdate() *core.Command {
14921471
client := core.ExtractClient(ctx)
14931472
api := baremetal.NewAPI(client)
14941473
return api.UpdateSetting(request)
1495-
14961474
},
14971475
}
14981476
}
@@ -1531,7 +1509,6 @@ func baremetalOsList() *core.Command {
15311509
return nil, err
15321510
}
15331511
return resp.Os, nil
1534-
15351512
},
15361513
}
15371514
}
@@ -1561,7 +1538,6 @@ func baremetalOsGet() *core.Command {
15611538
client := core.ExtractClient(ctx)
15621539
api := baremetal.NewAPI(client)
15631540
return api.GetOS(request)
1564-
15651541
},
15661542
Examples: []*core.Example{
15671543
{
@@ -1604,7 +1580,6 @@ func baremetalPrivateNetworkAdd() *core.Command {
16041580
client := core.ExtractClient(ctx)
16051581
api := baremetal.NewPrivateNetworkAPI(client)
16061582
return api.AddServerPrivateNetwork(request)
1607-
16081583
},
16091584
}
16101585
}
@@ -1641,7 +1616,6 @@ func baremetalPrivateNetworkSet() *core.Command {
16411616
client := core.ExtractClient(ctx)
16421617
api := baremetal.NewPrivateNetworkAPI(client)
16431618
return api.SetServerPrivateNetworks(request)
1644-
16451619
},
16461620
}
16471621
}
@@ -1709,7 +1683,6 @@ func baremetalPrivateNetworkList() *core.Command {
17091683
return nil, err
17101684
}
17111685
return resp.ServerPrivateNetworks, nil
1712-
17131686
},
17141687
}
17151688
}

internal/namespaces/baremetal/v3/baremetal_cli.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ func baremetalPrivateNetworkAdd() *core.Command {
9090
client := core.ExtractClient(ctx)
9191
api := baremetal.NewPrivateNetworkAPI(client)
9292
return api.AddServerPrivateNetwork(request)
93-
9493
},
9594
}
9695
}
@@ -127,7 +126,6 @@ func baremetalPrivateNetworkSet() *core.Command {
127126
client := core.ExtractClient(ctx)
128127
api := baremetal.NewPrivateNetworkAPI(client)
129128
return api.SetServerPrivateNetworks(request)
130-
131129
},
132130
}
133131
}
@@ -202,7 +200,6 @@ func baremetalPrivateNetworkList() *core.Command {
202200
return nil, err
203201
}
204202
return resp.ServerPrivateNetworks, nil
205-
206203
},
207204
}
208205
}

0 commit comments

Comments
 (0)