1
0
mirror of https://github.com/rancher/os.git synced 2025-09-01 06:40:31 +00:00

cloudinit tests pass :)

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit
2017-02-23 01:29:01 +00:00
parent 4f177ee605
commit be2c4044ce
72 changed files with 2683 additions and 1185 deletions

View File

@@ -328,11 +328,11 @@ func TestParseInterfaceStanzaStaticPostUp(t *testing.T) {
expect: []route{
{
destination: func() net.IPNet {
if _, net, err := net.ParseCIDR("192.168.1.0/24"); err == nil {
return *net
} else {
_, net, err := net.ParseCIDR("192.168.1.0/24")
if err != nil {
panic(err)
}
return *net
}(),
gateway: net.IPv4(192, 168, 1, 1),
},