Skip to content

Commit

Permalink
Improve timeout message (kyma-project#453)
Browse files Browse the repository at this point in the history
  • Loading branch information
Suleyman Akbas authored May 11, 2020
1 parent 47ab12c commit fa1f119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/minikube/minikube.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func RunCmd(verbose bool, profile string, timeout time.Duration, rawArgs ...stri
unquotedOut := strings.Replace(string(out), "'", "", -1)

if ctx.Err() == context.DeadlineExceeded {
return unquotedOut, fmt.Errorf("Executing 'minikube %s' command with output '%s' timed out, try running the command manually", strings.Join(args, " "), out)
return unquotedOut, fmt.Errorf("Executing 'minikube %s' command with output '%s' timed out, try running the command manually or increasing timeout using the 'timeout' flag", strings.Join(args, " "), out)
}

if err != nil {
Expand Down

0 comments on commit fa1f119

Please sign in to comment.