Explorar el Código

correct some daemon spelling mistakes

Signed-off-by: Yuan Sun <sunyuan3@huawei.com>
Yuan Sun hace 10 años
padre
commit
906974b185

+ 1 - 1
daemon/monitor.go

@@ -182,7 +182,7 @@ func (m *containerMonitor) Start() error {
 }
 
 // resetMonitor resets the stateful fields on the containerMonitor based on the
-// previous runs success or failure.  Reguardless of success, if the container had
+// previous runs success or failure.  Regardless of success, if the container had
 // an execution time of more than 10s then reset the timer back to the default
 func (m *containerMonitor) resetMonitor(successful bool) {
 	executionTime := time.Now().Sub(m.lastStartTime).Seconds()

+ 1 - 1
integration-cli/docker_cli_daemon_test.go

@@ -408,7 +408,7 @@ func TestDaemonKeyMigration(t *testing.T) {
 }
 
 // Simulate an older daemon (pre 1.3) coming up with volumes specified in containers
-//	without corrosponding volume json
+//	without corresponding volume json
 func TestDaemonUpgradeWithVolumes(t *testing.T) {
 	d := NewDaemon(t)
 

+ 1 - 1
integration-cli/docker_cli_exec_test.go

@@ -197,7 +197,7 @@ func TestExecAfterDaemonRestart(t *testing.T) {
 	logDone("exec - exec running container after daemon restart")
 }
 
-// Regresssion test for #9155, #9044
+// Regression test for #9155, #9044
 func TestExecEnv(t *testing.T) {
 	defer deleteAllContainers()