[#33] placement: Remote UseNetworkMap option from traverser

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2020-09-21 17:27:50 +03:00 committed by Alex Vanin
parent 12e5e4e2d8
commit dcfb6a6b3a

View file

@ -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) {