linkerd2/pkg/healthcheck
Andrew Seigner dec620f818
Fix `linkerd check --proxy` with default ns param (#2754)
The `linkerd check --proxy` command checks for proxies in all
namespaces, if the `--namespace` flag is not set. PR #2747 modified the
behavior of `KubernetesAPI.NamespaceExists`. Previously it would succeed
if given an emptry string for a namespace. Now it fails with a
`resource name may not be empty` error (for k8s server `v1.10.11`), or a
not found error (for our fake test client).

Modify the data plane proxy namespace check to return success if the
namespace is not set.

Signed-off-by: Andrew Seigner <siggy@buoyant.io>
2019-04-25 16:37:08 -07:00
..
healthcheck.go Fix `linkerd check --proxy` with default ns param (#2754) 2019-04-25 16:37:08 -07:00
healthcheck_test.go Fix `linkerd check --proxy` with default ns param (#2754) 2019-04-25 16:37:08 -07:00
sidecar.go Introduce cli command to fetch proxy metrics (#2445) 2019-03-07 10:24:38 -08:00
version.go Consolidate timeouts for `linkerd check` (#2191) 2019-02-05 11:38:30 -05:00
version_test.go Enable `unused` linter (#2357) 2019-02-23 11:05:39 -08:00