We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ee6306 commit 359ae53Copy full SHA for 359ae53
pkg/http/options.go
@@ -29,7 +29,7 @@ type Options struct {
29
}
30
31
func defaultOptions(c Config, options ...*Options) *Options {
32
- if options != nil {
+ if options != nil && options[0] != nil {
33
return options[0]
34
35
0 commit comments