Skip to content

Commit 5ca5390

Browse files
committed
Fix static routes in testacc
1 parent faa5fb8 commit 5ca5390

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

libvirt/resource_libvirt_network_test.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -448,12 +448,11 @@ func TestAccLibvirtNetwork_StaticRoutes(t *testing.T) {
448448
dhcp {
449449
enabled = false
450450
}
451-
routes = [
452-
{
451+
routes {
453452
cidr = "10.18.0.0/16"
454453
gateway = "10.17.3.2"
455-
},
456-
]}`,
454+
}
455+
}`,
457456
randomNetworkName, randomNetworkName)
458457

459458
resource.Test(t, resource.TestCase{

0 commit comments

Comments
 (0)