From 2dc206180ed5af01c0a955d2b8ffe897bb2c3364 Mon Sep 17 00:00:00 2001 From: James Sturtevant Date: Mon, 13 Jun 2022 10:58:09 -0700 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Matt Boersma --- docs/book/src/topics/troubleshooting.md | 2 +- test/e2e/azure_clusterproxy.go | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/book/src/topics/troubleshooting.md b/docs/book/src/topics/troubleshooting.md index 230d1e14de9..d47b0815141 100644 --- a/docs/book/src/topics/troubleshooting.md +++ b/docs/book/src/topics/troubleshooting.md @@ -157,7 +157,7 @@ ssh -J capi@${apiserver} capi@${node} As part of CI there is a [log collection tool](https://github.com/kubernetes-sigs/cluster-api-provider-azure/tree/main/test/logger.go) which you can also leverage to pull all the logs for machines which will dump logs to `${PWD}/_artifacts}` by default. The following works -if your kubeconfig is configured with the management cluster. See the the tool for more settings. +if your kubeconfig is configured with the management cluster. See the tool for more settings. ```bash go run -tags e2e ./test/logger.go --name capz-conf-j1t0qh --namespace default diff --git a/test/e2e/azure_clusterproxy.go b/test/e2e/azure_clusterproxy.go index 311c298301e..0394e7c639d 100644 --- a/test/e2e/azure_clusterproxy.go +++ b/test/e2e/azure_clusterproxy.go @@ -100,7 +100,6 @@ func (acp *AzureClusterProxy) CollectWorkloadClusterLogs(ctx context.Context, na Byf("Dumping workload cluster %s/%s Azure activity log", namespace, name) start = time.Now() - acp.collectActivityLogs(ctx, namespace, name, aboveMachinesPath) Byf("Fetching activity logs took %s", time.Since(start).String()) }