diff options
| author | Dave Henderson <dhenderson@gmail.com> | 2022-05-28 19:24:48 -0400 |
|---|---|---|
| committer | Dave Henderson <dhenderson@gmail.com> | 2022-05-28 19:49:42 -0400 |
| commit | cec23e66f9bd5022845162ae4dd3f2633b5236fa (patch) | |
| tree | f5caf83d0c92ce80942b2e7ed5e184ffb69e3c2d /data/datasource_http.go | |
| parent | e00015a86393e947757dea88cb82b328b35ad8b4 (diff) | |
General refactoring & cleanup
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'data/datasource_http.go')
| -rw-r--r-- | data/datasource_http.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/datasource_http.go b/data/datasource_http.go index ed1c97b7..03e1ac4c 100644 --- a/data/datasource_http.go +++ b/data/datasource_http.go @@ -34,7 +34,7 @@ func readHTTP(ctx context.Context, source *Source, args ...string) ([]byte, erro if err != nil { return nil, err } - req.Header = source.header + req.Header = source.Header res, err := source.hc.Do(req) if err != nil { return nil, err |
