Skip to content

Commit cf07f42

Browse files
committed
fixed incorrect method name in doc
1 parent 43661d0 commit cf07f42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Create / Delete Ioctx :
5151

5252
```js
5353
ioctx = new rados.Ioctx(cluster, poolname) // on error, throw error
54-
ioctx.delete()
54+
ioctx.destroy()
5555
ioctx.pool_set_auid(auid) // on error, return error
5656
ioctx.pool_get_auid(auid) // on error, return auid (negative value on error)
5757
```

0 commit comments

Comments
 (0)