Skip to content

Commit e75888d

Browse files
committed
chore: rebuild project due to codegen change
1 parent e6aaa0b commit e75888d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

internal/requestconfig/requestconfig.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,10 @@ func retryDelay(res *http.Response, retryCount int) time.Duration {
298298
}
299299

300300
func (cfg *RequestConfig) Execute() (err error) {
301+
if cfg.BaseURL == nil {
302+
return fmt.Errorf("requestconfig: base url is not set")
303+
}
304+
301305
cfg.Request.URL, err = cfg.BaseURL.Parse(strings.TrimLeft(cfg.Request.URL.String(), "/"))
302306
if err != nil {
303307
return err

0 commit comments

Comments
 (0)