Skip to content

Commit

Permalink
Update "linkerd-version" check (#3975)
Browse files Browse the repository at this point in the history
Update check command to throw a warning when it fails to determine
latest version

Signed-off-by: Mayank Shah <[email protected]>
  • Loading branch information
mayankshah1607 authored and zaharidichev committed Jan 28, 2020
1 parent 7f026c9 commit 5fc83bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/healthcheck/healthcheck.go
Original file line number Diff line number Diff line change
Expand Up @@ -1024,6 +1024,7 @@ func (hc *HealthChecker) allCategories() []category {
{
description: "can determine the latest version",
hintAnchor: "l5d-version-latest",
warning: true,
check: func(ctx context.Context) (err error) {
if hc.VersionOverride != "" {
hc.latestVersions, err = version.NewChannels(hc.VersionOverride)
Expand Down

0 comments on commit 5fc83bc

Please sign in to comment.