cc
This commit is contained in:
@@ -11,7 +11,7 @@ func PoolFactory(cephConn mytypes.CephConnector, poolName string) (mytypes.Pool,
|
||||
|
||||
ioctx, err := cephConn.OpenIOContext(poolName)
|
||||
if err != nil {
|
||||
return mytypes.Pool{}, fmt.Errorf("Couldn't set context for pool %s %w", poolName, err)
|
||||
return mytypes.Pool{}, fmt.Errorf("couldn't set context for pool %s %w", poolName, err)
|
||||
}
|
||||
|
||||
defer ioctx.Destroy()
|
||||
|
||||
Reference in New Issue
Block a user