Commit a758b5cf authored by Janos Guljas's avatar Janos Guljas

swarm/api: initialize map with make to comply with the convention

parent 34edbc88
......@@ -69,7 +69,7 @@ func MultiResolverOptionWithResolver(r Resolver, tld string) MultiResolverOption
// NewMultiResolver creates a new instance of MultiResolver.
func NewMultiResolver(opts ...MultiResolverOption) (m *MultiResolver) {
m = &MultiResolver{
resolvers: map[string][]Resolver{},
resolvers: make(map[string][]Resolver),
}
for _, o := range opts {
o(m)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment