[#33] placement: Remote UseNetworkMap option from traverser

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
support/v0.27
Leonard Lyubich 2020-09-21 17:27:50 +03:00 committed by Alex Vanin
parent 12e5e4e2d8
commit dcfb6a6b3a
1 changed files with 0 additions and 12 deletions

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