Skip to content

Commit 64fcc5b

Browse files
authored
fix(rdb): add InstanceLogId in GetInstanceLogRequest (#1995)
1 parent 2b5dc2b commit 64fcc5b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

api/rdb/v1/rdb_utils.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@ func (s *API) WaitForInstanceLog(req *WaitForInstanceLogRequest, opts ...scw.Req
136136
logs, err := async.WaitSync(&async.WaitSyncConfig{
137137
Get: func() (interface{}, bool, error) {
138138
res, err := s.GetInstanceLog(&GetInstanceLogRequest{
139-
Region: req.Region,
139+
Region: req.Region,
140+
InstanceLogID: req.InstanceLogID,
140141
}, opts...)
141142

142143
if err != nil {

0 commit comments

Comments
 (0)