Skip to content

Commit 95a44a5

Browse files
committed
fix comment
Signed-off-by: Grant Linville <[email protected]>
1 parent 94ab8c2 commit 95a44a5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/loader/url.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,7 @@ func loadURL(ctx context.Context, cache *cache.Client, base *source, name string
134134
func getWithDefaults(req *http.Request) ([]byte, error) {
135135
originalPath := req.URL.Path
136136

137-
// First, try to get the original path as is.
138-
// It might be an OpenAPI definition.
137+
// First, try to get the original path as is. It might be an OpenAPI definition.
139138
resp, err := http.DefaultClient.Do(req)
140139
if err != nil {
141140
return nil, err

0 commit comments

Comments
 (0)