]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Force target_lun to be int type to make os-brick happy
authorRichard Hedlind <richard.hedlind@x-io.com>
Wed, 24 Feb 2016 00:51:01 +0000 (17:51 -0700)
committerRichard Hedlind <richard.hedlind@x-io.com>
Wed, 24 Feb 2016 00:59:28 +0000 (17:59 -0700)
commitcd2408cdea80ccf5cce9fd92a6338c53c0778c33
tree7ba21afbdf83f6720385ddd87e1bfcf754c404cc
parent96470cee04d158a45faa8bb93127944556892ec4
Force target_lun to be int type to make os-brick happy

The X-IO driver was returning the target_lun field as a string
from initialize_connection. It has to be an int to not cause
breakage later on.

Change-Id: I41c91b78753a2007c243ed30731f0a0cd92e68b5
Closes-Bug: #1549048
cinder/tests/unit/test_xio.py
cinder/volume/drivers/xio.py