Skip to content

Commit

Permalink
cli/command/container/attach.go:141:15: nilness: impossible condition…
Browse files Browse the repository at this point in the history
…: nil != nil (govet)

Signed-off-by: Silvin Lubecki <[email protected]>
  • Loading branch information
silvin-lubecki authored and thaJeztah committed Oct 31, 2019
1 parent b3d4c6a commit 584da37
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cli/command/container/attach.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,6 @@ func runAttach(dockerCli command.Cli, opts *attachOptions) error {
return err
}

if errAttach != nil {
return errAttach
}

return getExitStatus(errC, resultC)
}

Expand Down

0 comments on commit 584da37

Please sign in to comment.