[#33] placement: Remote UseNetworkMap option from traverser
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
12e5e4e2d8
commit
dcfb6a6b3a
1 changed files with 0 additions and 12 deletions
|
@ -178,18 +178,6 @@ func UseBuilder(b Builder) Option {
|
|||
}
|
||||
}
|
||||
|
||||
// UseNetworkMap is a placement builder based on network
|
||||
// map setting option.
|
||||
//
|
||||
// Overlaps UseBuilder option.
|
||||
func UseNetworkMap(nm *netmap.Netmap) Option {
|
||||
return func(c *cfg) {
|
||||
c.builder = &netMapBuilder{
|
||||
nm: nm,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ForContainer is a traversal container setting option.
|
||||
func ForContainer(cnr *container.Container) Option {
|
||||
return func(c *cfg) {
|
||||
|
|
Loading…
Reference in a new issue