mirror of https://github.com/docker/cli.git
cli/command/container/start.go:157:20: nilness: nil dereference in type assertion (govet)
Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
This commit is contained in:
parent
85cfd4e518
commit
9afeb6f432
|
@ -150,7 +150,7 @@ func runStart(dockerCli command.Cli, opts *startOptions) error {
|
|||
}
|
||||
}
|
||||
if attachErr := <-cErr; attachErr != nil {
|
||||
if _, ok := err.(term.EscapeError); ok {
|
||||
if _, ok := attachErr.(term.EscapeError); ok {
|
||||
// The user entered the detach escape sequence.
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue