new exporter version
This commit is contained in:
parent
640a6d2a46
commit
bf8f562768
|
|
@ -31,7 +31,7 @@ func (cc CephConnection) OpenIOContext(poolName string) (IOContexter,error) {
|
|||
if err != nil {
|
||||
return nil,err
|
||||
}
|
||||
return &IOContextWrapper{ioctx: ioctx},nil
|
||||
return IOContextWrapper{ioctx: ioctx},nil
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -55,7 +55,7 @@ func (iocw IOContextWrapper) GetImageNames() ([]string,error){
|
|||
|
||||
func (iocw IOContextWrapper) GetImage(rbdName string) RBDImager {
|
||||
img := rbd.GetImage(iocw.ioctx,rbdName)
|
||||
return &RBDImageWrapper{image: img}
|
||||
return RBDImageWrapper{image: img}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user