Skip to content

Commit

Permalink
Change check category to linkerd-buoyant (#7)
Browse files Browse the repository at this point in the history
`linkerd check` outputs a check per extension, with the category being
the name of the extension. `linkerd-buoyant`s category was
`buoyant-cloud`, so it created multiple categories on the output.

Change the category from `buoyant-cloud` to `linkerd-buoyant`.

Fixes #6

Signed-off-by: Andrew Seigner <[email protected]>
  • Loading branch information
siggy authored Feb 25, 2021
1 parent e72a227 commit f922e2d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pkg/healthcheck/healthcheck.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (

const (
// categoryID identifies this extension to linkerd check.
categoryID healthcheck.CategoryID = k8s.Namespace
categoryID healthcheck.CategoryID = version.LinkerdBuoyant
)

// HealthChecker wraps Linkerd's main healthchecker, adding extra fields for
Expand Down
8 changes: 4 additions & 4 deletions pkg/healthcheck/healthcheck_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ func TestHealthChecker(t *testing.T) {
return hc
},
false,
`buoyant-cloud
-------------
`linkerd-buoyant
---------------
√ linkerd-buoyant can determine the latest version
√ linkerd-buoyant cli is up-to-date
√ buoyant-cloud Namespace exists
Expand Down Expand Up @@ -143,8 +143,8 @@ Status check results are ×
return hc
},
true,
`buoyant-cloud
-------------
`linkerd-buoyant
---------------
√ linkerd-buoyant can determine the latest version
√ linkerd-buoyant cli is up-to-date
√ buoyant-cloud Namespace exists
Expand Down

0 comments on commit f922e2d

Please sign in to comment.