Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Boersma <[email protected]>
  • Loading branch information
jsturtevant and mboersma authored Jun 13, 2022
1 parent d0f78a6 commit 2dc2061
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion docs/book/src/topics/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) <!-- markdown-link-check-disable-line -->
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
Expand Down
1 change: 0 additions & 1 deletion test/e2e/azure_clusterproxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}
Expand Down

0 comments on commit 2dc2061

Please sign in to comment.