Skip to content

Commit 2745459

Browse files
authored
Merge pull request #5 from oracle/bugfix/tablenotfound
Fixed a problem where the cloud service might succeed when dropping a…
2 parents 41dddc6 + 61cc7c5 commit 2745459

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

nosqldb/result.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -349,14 +349,6 @@ func (r *TableResult) WaitForCompletion(client *Client, timeout, pollInterval ti
349349
for {
350350
res, err = client.getTableWithContext(ctx, req)
351351
if err != nil {
352-
if nosqlerr.IsTableNotFound(err) {
353-
// The operation was probably a drop. There was an OperationID,
354-
// which means that the table existed when the original request
355-
// was made. Update the state and return.
356-
r.State = types.Dropped
357-
return r, nil
358-
}
359-
360352
return nil, err
361353
}
362354

0 commit comments

Comments
 (0)