Skip to content

Commit f7fbd65

Browse files
authored
Fix ST1005 linting errors in docker validation error messages (#15710)
1 parent a5b6606 commit f7fbd65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/workflow/docker_validation.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,15 @@ func validateDockerImage(image string, verbose bool) error {
9292
_, err := exec.LookPath("docker")
9393
if err != nil {
9494
dockerValidationLog.Print("Docker not installed, cannot validate image")
95-
return fmt.Errorf("Docker not installed - could not validate container image '%s'. Install Docker or remove container-based tools", image)
95+
return fmt.Errorf("docker not installed - could not validate container image '%s'. Install Docker or remove container-based tools", image)
9696
}
9797

9898
// Check if Docker daemon is actually running (cached check with short timeout).
9999
// This prevents multi-minute hangs when Docker Desktop is installed but not running,
100100
// which is common on macOS development machines.
101101
if !isDockerDaemonRunning() {
102102
dockerValidationLog.Print("Docker daemon not running, cannot validate image")
103-
return fmt.Errorf("Docker daemon not running - could not validate container image '%s'. Start Docker Desktop or remove container-based tools", image)
103+
return fmt.Errorf("docker daemon not running - could not validate container image '%s'. Start Docker Desktop or remove container-based tools", image)
104104
}
105105

106106
// Try to inspect the image (will succeed if image exists locally)

0 commit comments

Comments
 (0)