nomad/mock: add NodeNetworkResources to mock Node
This commit is contained in:
parent
a87e91e971
commit
fb9c458df1
|
@ -71,6 +71,13 @@ func Node() *structs.Node {
|
|||
MBits: 1000,
|
||||
},
|
||||
},
|
||||
NodeNetworks: []*structs.NodeNetworkResource{
|
||||
{
|
||||
Mode: "host",
|
||||
Device: "eth0",
|
||||
Speed: 1000,
|
||||
},
|
||||
},
|
||||
},
|
||||
ReservedResources: &structs.NodeReservedResources{
|
||||
Cpu: structs.NodeReservedCpuResources{
|
||||
|
|
Loading…
Reference in a new issue