1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Fix typos in daemon

Signed-off-by: bin liu <liubin0329@gmail.com>
This commit is contained in:
bin liu 2018-02-10 19:26:20 +08:00
parent ab3ea81376
commit b00a67be6e
3 changed files with 4 additions and 4 deletions

View file

@ -26,7 +26,7 @@ import (
// We'll also end up with many tasks all pointing to the same plugin ID. // We'll also end up with many tasks all pointing to the same plugin ID.
// //
// TODO(@cpuguy83): registry auth is intentionally not supported until we work out // TODO(@cpuguy83): registry auth is intentionally not supported until we work out
// the right way to pass registry crednetials via secrets. // the right way to pass registry credentials via secrets.
type Controller struct { type Controller struct {
backend Backend backend Backend
spec runtime.PluginSpec spec runtime.PluginSpec

View file

@ -409,7 +409,7 @@ func (d *Driver) terminateServiceVM(id, context string, force bool) (err error)
svm.signalStopFinished(err) svm.signalStopFinished(err)
}() }()
// Now it's possible that the serivce VM failed to start and now we are trying to termiante it. // Now it's possible that the serivce VM failed to start and now we are trying to terminate it.
// In this case, we will relay the error to the goroutines waiting for this vm to stop. // In this case, we will relay the error to the goroutines waiting for this vm to stop.
if err := svm.getStartError(); err != nil { if err := svm.getStartError(); err != nil {
logrus.Debugf("lcowdriver: terminateservicevm: %s had failed to start up: %s", id, err) logrus.Debugf("lcowdriver: terminateservicevm: %s had failed to start up: %s", id, err)

View file

@ -42,7 +42,7 @@ func PutMessage(msg *Message) {
messagePool.Put(msg) messagePool.Put(msg)
} }
// Message is datastructure that represents piece of output produced by some // Message is data structure that represents piece of output produced by some
// container. The Line member is a slice of an array whose contents can be // container. The Line member is a slice of an array whose contents can be
// changed after a log driver's Log() method returns. // changed after a log driver's Log() method returns.
// //
@ -133,7 +133,7 @@ func (w *LogWatcher) WatchClose() <-chan struct{} {
return w.closeNotifier return w.closeNotifier
} }
// Capability defines the list of capabilties that a driver can implement // Capability defines the list of capabilities that a driver can implement
// These capabilities are not required to be a logging driver, however do // These capabilities are not required to be a logging driver, however do
// determine how a logging driver can be used // determine how a logging driver can be used
type Capability struct { type Capability struct {