Skip to content

Commit

Permalink
resources: Remove conditional used for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Jan 23, 2025
1 parent 68586c8 commit a563783
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/resource_factories/create/remote.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func responseToData(res *http.Response, readBody bool, includeHeaders []string)
}

responseHeaders := make(map[string][]string)
if true || len(includeHeaders) > 0 {
if len(includeHeaders) > 0 {
for k, v := range res.Header {
if hstrings.InSlicEqualFold(includeHeaders, k) {
responseHeaders[k] = v
Expand Down

0 comments on commit a563783

Please sign in to comment.