cli/command/container/start.go:157:20: nilness: nil dereference in type assertion (govet)
@@ -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
}
