mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #37988 from mirake/fix-typos
Fix typo: adapater -> adapter
This commit is contained in:
commit
82a4797499
2 changed files with 2 additions and 2 deletions
|
@ -123,7 +123,7 @@ func (d *Daemon) cleanupMetricsPlugins() {
|
|||
|
||||
adapter, err := makePluginAdapter(p)
|
||||
if err != nil {
|
||||
logrus.WithError(err).WithField("plugin", p.Name()).Error("Error creating metrics plugin adapater")
|
||||
logrus.WithError(err).WithField("plugin", p.Name()).Error("Error creating metrics plugin adapter")
|
||||
return
|
||||
}
|
||||
if err := adapter.StopMetrics(); err != nil {
|
||||
|
|
|
@ -51,7 +51,7 @@ func registerMetricsPluginCallback(store *plugin.Store, sockPath string) {
|
|||
|
||||
adapter, err := makePluginAdapter(p)
|
||||
if err != nil {
|
||||
logrus.WithError(err).WithField("plugin", p.Name()).Error("Error creating plugin adapater")
|
||||
logrus.WithError(err).WithField("plugin", p.Name()).Error("Error creating plugin adapter")
|
||||
}
|
||||
if err := adapter.StartMetrics(); err != nil {
|
||||
logrus.WithError(err).WithField("plugin", p.Name()).Error("Error starting metrics collector plugin")
|
||||
|
|
Loading…
Reference in a new issue