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
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
if errAttach != nil {
|
|
||||||
return errAttach
|
|
||||||
}
|
|
||||||
|
|
||||||
return getExitStatus(errC, resultC)
|
return getExitStatus(errC, resultC)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user