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()) }