浏览代码

correct some daemon spelling mistakes

Signed-off-by: Yuan Sun <sunyuan3@huawei.com>
Yuan Sun 10 年之前
父节点
当前提交
906974b185
共有 3 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      daemon/monitor.go
  2. 1 1
      integration-cli/docker_cli_daemon_test.go
  3. 1 1
      integration-cli/docker_cli_exec_test.go

+ 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()