Skip to content

Commit bcd7095

Browse files
authored
fix(inference): pointer req (scaleway#2535)
1 parent ea0a849 commit bcd7095

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/inference/v1/inference_utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ type WaitForCustomModelRequest struct {
6565
RetryInterval *time.Duration
6666
}
6767

68-
func (s *API) WaitForCustomModel(req WaitForCustomModelRequest, opts ...scw.RequestOption) (*Model, error) {
68+
func (s *API) WaitForCustomModel(req *WaitForCustomModelRequest, opts ...scw.RequestOption) (*Model, error) {
6969
timeout := defaultTimeout
7070
if req.Timeout != nil {
7171
timeout = *req.Timeout

0 commit comments

Comments
 (0)