mirror of
https://github.com/kemko/nomad.git
synced 2026-01-07 10:55:42 +03:00
scheduler: use the new network index
This commit is contained in:
@@ -177,7 +177,7 @@ OUTER:
|
||||
}
|
||||
|
||||
// Index the existing network usage
|
||||
netIdx := NewNetworkIndex()
|
||||
netIdx := structs.NewNetworkIndex()
|
||||
netIdx.SetNode(option.Node)
|
||||
netIdx.AddAllocs(proposed)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user