scheduler: use the new network index

This commit is contained in:
Armon Dadgar
2015-09-13 14:37:09 -07:00
parent 3acf348e46
commit 5545fd8ec0

View File

@@ -177,7 +177,7 @@ OUTER:
}
// Index the existing network usage
netIdx := NewNetworkIndex()
netIdx := structs.NewNetworkIndex()
netIdx.SetNode(option.Node)
netIdx.AddAllocs(proposed)