@@ -153,13 +153,13 @@ func TestNetworkInterfacesValidation_CNI(t *testing.T) {
153
153
154
154
func TestNetworkInterfacesValidation_MultipleStatic (t * testing.T ) {
155
155
err := NetworkInterfaces ([]NetworkInterface {
156
- NetworkInterface {
156
+ {
157
157
StaticConfiguration : & StaticNetworkConfiguration {
158
158
MacAddress : mockMacAddrString ,
159
159
HostDevName : tapName ,
160
160
},
161
161
},
162
- NetworkInterface {
162
+ {
163
163
StaticConfiguration : & StaticNetworkConfiguration {
164
164
MacAddress : "11:22:33:44:55:66" ,
165
165
HostDevName : "tap1" ,
@@ -172,7 +172,7 @@ func TestNetworkInterfacesValidation_MultipleStatic(t *testing.T) {
172
172
func TestNetworkInterfacesValidationFails_MultipleCNI (t * testing.T ) {
173
173
err := NetworkInterfaces ([]NetworkInterface {
174
174
validCNIInterface ,
175
- NetworkInterface {
175
+ {
176
176
CNIConfiguration : & CNIConfiguration {
177
177
NetworkName : "something-else" ,
178
178
netNSPath : "/a/different/netns" ,
@@ -185,7 +185,7 @@ func TestNetworkInterfacesValidationFails_MultipleCNI(t *testing.T) {
185
185
func TestNetworkInterfacesValidationFails_IPWithMultiple (t * testing.T ) {
186
186
err := NetworkInterfaces ([]NetworkInterface {
187
187
validStaticNetworkInterface ,
188
- NetworkInterface {
188
+ {
189
189
StaticConfiguration : & StaticNetworkConfiguration {
190
190
MacAddress : "11:22:33:44:55:66" ,
191
191
HostDevName : "tap1" ,
@@ -205,7 +205,7 @@ func TestNetworkInterfacesValidationFails_IPWithKernelArg(t *testing.T) {
205
205
func TestNetworkInterfacesValidationFails_CNIWithMultiple (t * testing.T ) {
206
206
err := NetworkInterfaces ([]NetworkInterface {
207
207
validCNIInterface ,
208
- NetworkInterface {
208
+ {
209
209
StaticConfiguration : & StaticNetworkConfiguration {
210
210
MacAddress : "11:22:33:44:55:66" ,
211
211
HostDevName : "tap1" ,
@@ -367,7 +367,7 @@ func startCNIMachine(t *testing.T,
367
367
HtEnabled : Bool (true ),
368
368
},
369
369
Drives : []models.Drive {
370
- models. Drive {
370
+ {
371
371
DriveID : String ("1" ),
372
372
IsRootDevice : Bool (true ),
373
373
IsReadOnly : Bool (false ),
0 commit comments