Signed-off-by: bin liu <liubin0329@gmail.com>
| ... | ... |
@@ -26,7 +26,7 @@ import ( |
| 26 | 26 |
// We'll also end up with many tasks all pointing to the same plugin ID. |
| 27 | 27 |
// |
| 28 | 28 |
// TODO(@cpuguy83): registry auth is intentionally not supported until we work out |
| 29 |
-// the right way to pass registry crednetials via secrets. |
|
| 29 |
+// the right way to pass registry credentials via secrets. |
|
| 30 | 30 |
type Controller struct {
|
| 31 | 31 |
backend Backend |
| 32 | 32 |
spec runtime.PluginSpec |
| ... | ... |
@@ -409,7 +409,7 @@ func (d *Driver) terminateServiceVM(id, context string, force bool) (err error) |
| 409 | 409 |
svm.signalStopFinished(err) |
| 410 | 410 |
}() |
| 411 | 411 |
|
| 412 |
- // Now it's possible that the serivce VM failed to start and now we are trying to termiante it. |
|
| 412 |
+ // Now it's possible that the serivce VM failed to start and now we are trying to terminate it. |
|
| 413 | 413 |
// In this case, we will relay the error to the goroutines waiting for this vm to stop. |
| 414 | 414 |
if err := svm.getStartError(); err != nil {
|
| 415 | 415 |
logrus.Debugf("lcowdriver: terminateservicevm: %s had failed to start up: %s", id, err)
|
| ... | ... |
@@ -42,7 +42,7 @@ func PutMessage(msg *Message) {
|
| 42 | 42 |
messagePool.Put(msg) |
| 43 | 43 |
} |
| 44 | 44 |
|
| 45 |
-// Message is datastructure that represents piece of output produced by some |
|
| 45 |
+// Message is data structure that represents piece of output produced by some |
|
| 46 | 46 |
// container. The Line member is a slice of an array whose contents can be |
| 47 | 47 |
// changed after a log driver's Log() method returns. |
| 48 | 48 |
// |
| ... | ... |
@@ -133,7 +133,7 @@ func (w *LogWatcher) WatchClose() <-chan struct{} {
|
| 133 | 133 |
return w.closeNotifier |
| 134 | 134 |
} |
| 135 | 135 |
|
| 136 |
-// Capability defines the list of capabilties that a driver can implement |
|
| 136 |
+// Capability defines the list of capabilities that a driver can implement |
|
| 137 | 137 |
// These capabilities are not required to be a logging driver, however do |
| 138 | 138 |
// determine how a logging driver can be used |
| 139 | 139 |
type Capability struct {
|