mirror of https://github.com/docker/docs.git
Merge pull request #217 from aluzzardi/initialize-typo
Typo: Initialise -> Initialize.
This commit is contained in:
commit
7361b986f5
|
@ -60,7 +60,7 @@ func New(rawurl string, heartbeat int) (DiscoveryService, error) {
|
|||
}
|
||||
|
||||
if discovery, exists := discoveries[url.Scheme]; exists {
|
||||
log.Debugf("Initialising %q discovery service with %q", url.Scheme, url.Host+url.Path)
|
||||
log.Debugf("Initializing %q discovery service with %q", url.Scheme, url.Host+url.Path)
|
||||
err := discovery.Initialize(url.Host+url.Path, heartbeat)
|
||||
return discovery, err
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ func New(names []string) ([]Filter, error) {
|
|||
|
||||
for _, name := range names {
|
||||
if filter, exists := filters[name]; exists {
|
||||
log.Debugf("Initialising %q filter", name)
|
||||
log.Debugf("Initializing %q filter", name)
|
||||
selectedFilters = append(selectedFilters, filter)
|
||||
} else {
|
||||
return nil, ErrNotSupported
|
||||
|
|
|
@ -39,7 +39,7 @@ func New(nameAndOpts string) (PlacementStrategy, error) {
|
|||
}
|
||||
|
||||
if strategy, exists := strategies[name]; exists {
|
||||
log.Debugf("Initialising %q strategy with %q", name, opts)
|
||||
log.Debugf("Initializing %q strategy with %q", name, opts)
|
||||
err := strategy.Initialize(opts)
|
||||
return strategy, err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue