Skip to content

Commit

Permalink
fixed syntax error in download options
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Müller <[email protected]>
  • Loading branch information
toamto94 authored Feb 9, 2024
1 parent 99c7bd7 commit 8c65896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/driver/distro/distro.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ func Download(ctx context.Context,
header.Add(key, value)
}
req.Header = header
}
}
resp, err := http.DefaultClient.Do(req)
if err != nil || resp.StatusCode != 200 {
if err == nil {
Expand Down

0 comments on commit 8c65896

Please sign in to comment.