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:
parent
ab3ea81376
commit
b00a67be6e
3 changed files with 4 additions and 4 deletions
|
@ -26,7 +26,7 @@ import (
|
|||
// 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
|
||||
// the right way to pass registry crednetials via secrets.
|
||||
// the right way to pass registry credentials via secrets.
|
||||
type Controller struct {
|
||||
backend Backend
|
||||
spec runtime.PluginSpec
|
||||
|
|
|
@ -409,7 +409,7 @@ func (d *Driver) terminateServiceVM(id, context string, force bool) (err error)
|
|||
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.
|
||||
if err := svm.getStartError(); err != nil {
|
||||
logrus.Debugf("lcowdriver: terminateservicevm: %s had failed to start up: %s", id, err)
|
||||
|
|
|
@ -42,7 +42,7 @@ func PutMessage(msg *Message) {
|
|||
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
|
||||
// changed after a log driver's Log() method returns.
|
||||
//
|
||||
|
@ -133,7 +133,7 @@ func (w *LogWatcher) WatchClose() <-chan struct{} {
|
|||
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
|
||||
// determine how a logging driver can be used
|
||||
type Capability struct {
|
||||
|
|
Loading…
Add table
Reference in a new issue