Project

General

Profile

Actions

Documentation #2388

closed

librbd python doc lacks ioctx parameter to rbd.Image() constructor

Added by Dan Mick almost 12 years ago. Updated almost 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
librbd
Target version:
% Done:

0%

Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

The librbd Python binding doc (http://ceph.com/docs/master/api/librbdpy/) has the following in its example:

image = rbd.Image('myimage')

That should be

image = rbd.Image(ioctx, 'myimage'). The ioctx argument is required.

Actions #1

Updated by Sage Weil almost 12 years ago

  • Translation missing: en.field_position set to 4
Actions #2

Updated by Sage Weil almost 12 years ago

  • Target version set to v0.48
  • Translation missing: en.field_position deleted (12)
  • Translation missing: en.field_position set to 26
Actions #3

Updated by Sage Weil almost 12 years ago

  • Assignee changed from John Wilkins to Greg Farnum
Actions #4

Updated by Greg Farnum almost 12 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF