mirror of https://github.com/linkerd/linkerd2.git
Condition is always 'false' because 'err' is always 'nil' (#5982)
Remove unnecessary err check. Signed-off-by: Cookie Wang <wangchl01@inspur.com>
This commit is contained in:
parent
b9aa32f9b2
commit
4c1b51a6f2
|
|
@ -137,9 +137,6 @@ func configureAndRunChecks(wout io.Writer, werr io.Writer, options *checkOptions
|
|||
|
||||
hc := newHealthChecker(linkerdHC)
|
||||
category := multiclusterCategory(hc)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
hc.linkerdHC.AppendCategories(*category)
|
||||
success := healthcheck.RunChecks(wout, werr, hc.linkerdHC, options.output)
|
||||
if !success {
|
||||
|
|
|
|||
Loading…
Reference in New Issue