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:
wangchenglong01 2021-04-05 13:19:12 +08:00 committed by GitHub
parent b9aa32f9b2
commit 4c1b51a6f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -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 {