TUN-8725: implement diagnostic procedure

## Summary
Add a function that orchestrates the diagnostic jobs producing a zip file at the end.

Closes TUN-8725
This commit is contained in:
Luis Neto
2024-12-04 03:37:57 -08:00
parent 451f98e1d1
commit 7bd86762a7
8 changed files with 457 additions and 11 deletions

View File

@@ -38,7 +38,7 @@ func (client *httpClient) SetBaseURL(baseURL *url.URL) {
func (client *httpClient) GET(ctx context.Context, endpoint string) (*http.Response, error) {
if client.baseURL == nil {
return nil, ErrNoBaseUrl
return nil, ErrNoBaseURL
}
url := client.baseURL.JoinPath(endpoint)