mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix typo: adapater -> adapter
Signed-off-by: Rui Cao <ruicao@alauda.io>
This commit is contained in:
parent
a3f54d4570
commit
d3e155d926
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