1
0
mirror of https://github.com/rancher/os.git synced 2025-09-12 13:17:17 +00:00

Upgrade golang compiler to latest; go fmt files.

This commit is contained in:
Lonnie Liu
2021-02-15 14:23:01 -08:00
committed by Olli Janatuinen
parent 6cde287f87
commit af08844a9a
4 changed files with 24 additions and 23 deletions

View File

@@ -70,13 +70,13 @@ func TestFetchMetadata(t *testing.T) {
RootDisk: "/dev/xvda",
NetworkConfig: netconf.NetworkConfig{
Interfaces: map[string]netconf.InterfaceConfig{
/* "eth0": netconf.InterfaceConfig{
Addresses: []string{
"1.2.3.4",
"5.6.7.8",
/* "eth0": netconf.InterfaceConfig{
Addresses: []string{
"1.2.3.4",
"5.6.7.8",
},
},
},
*/},
*/},
},
},
},
@@ -100,13 +100,13 @@ func TestFetchMetadata(t *testing.T) {
RootDisk: "/dev/nvme0n1",
NetworkConfig: netconf.NetworkConfig{
Interfaces: map[string]netconf.InterfaceConfig{
/* "eth0": netconf.InterfaceConfig{
Addresses: []string{
"1.2.3.4",
"5.6.7.8",
/* "eth0": netconf.InterfaceConfig{
Addresses: []string{
"1.2.3.4",
"5.6.7.8",
},
},
},
*/},
*/},
},
},
},