浏览代码

Rename some references to docker.exe to dockerd.exe

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 5 年之前
父节点
当前提交
a9aeda8343
共有 3 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      daemon/daemon_windows.go
  2. 1 1
      pkg/parsers/kernel/kernel_windows.go
  3. 1 1
      pkg/system/syscall_windows.go

+ 1 - 1
daemon/daemon_windows.go

@@ -218,7 +218,7 @@ func verifyDaemonSettings(config *config.Config) error {
 
 // checkSystem validates platform-specific requirements
 func checkSystem() error {
-	// Validate the OS version. Note that docker.exe must be manifested for this
+	// Validate the OS version. Note that dockerd.exe must be manifested for this
 	// call to return the correct version.
 	osv := system.GetOSVersion()
 	if osv.MajorVersion < 10 {

+ 1 - 1
pkg/parsers/kernel/kernel_windows.go

@@ -36,7 +36,7 @@ func GetKernelVersion() (*VersionInfo, error) {
 	}
 	KVI.kvi = blex
 
-	// Important - docker.exe MUST be manifested for this API to return
+	// Important - dockerd.exe MUST be manifested for this API to return
 	// the correct information.
 	dwVersion, err := windows.GetVersion()
 	if err != nil {

+ 1 - 1
pkg/system/syscall_windows.go

@@ -84,7 +84,7 @@ type osVersionInfoEx struct {
 }
 
 // GetOSVersion gets the operating system version on Windows. Note that
-// docker.exe must be manifested to get the correct version information.
+// dockerd.exe must be manifested to get the correct version information.
 func GetOSVersion() OSVersion {
 	var err error
 	osv := OSVersion{}