Skip to content

Commit c814128

Browse files
committed
removing debug log
1 parent 6f59472 commit c814128

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

pkg/input/formats/openapi/downloader.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import (
44
"encoding/json"
55
"fmt"
66
"io"
7-
"log"
87
"net/http"
98
"net/url"
109
"os"
@@ -40,7 +39,6 @@ func (d *OpenAPIDownloader) Download(urlStr, tmpDir string, httpClient *retryabl
4039
client = httpClient.HTTPClient
4140
} else {
4241
// Fallback to simple client if no httpClient provided
43-
log.Fatal("no httpClient provided")
4442
client = &http.Client{Timeout: 30 * time.Second}
4543
}
4644

pkg/input/formats/swagger/downloader.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import (
44
"encoding/json"
55
"fmt"
66
"io"
7-
"log"
87
"net/http"
98
"net/url"
109
"os"
@@ -49,7 +48,6 @@ func (d *SwaggerDownloader) Download(urlStr, tmpDir string, httpClient *retryabl
4948
client = httpClient.HTTPClient
5049
} else {
5150
// Fallback to simple client if no httpClient provided
52-
log.Fatal("no httpClient provided")
5351
client = &http.Client{Timeout: 30 * time.Second}
5452
}
5553

0 commit comments

Comments
 (0)