mirror of https://github.com/docker/cli.git
cli/command/container/attach.go:141:15: nilness: impossible condition: nil != nil (govet)
Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
This commit is contained in:
parent
b3d4c6aac7
commit
584da37756
|
@ -138,10 +138,6 @@ func runAttach(dockerCli command.Cli, opts *attachOptions) error {
|
|||
return err
|
||||
}
|
||||
|
||||
if errAttach != nil {
|
||||
return errAttach
|
||||
}
|
||||
|
||||
return getExitStatus(errC, resultC)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue