diff options
author | Jan Safranek <jsafrane@redhat.com> | 2013-11-19 13:44:13 +0100 |
---|---|---|
committer | Jan Safranek <jsafrane@redhat.com> | 2013-11-19 13:44:13 +0100 |
commit | 61fcb7fbf492a856bf8f955f5911a2d712bf3fa5 (patch) | |
tree | 1119e604a1b7c838f3de449b549ac748a4216c81 /commands/storage/lmi | |
parent | 8815b1707d27be10ab2b1db2cb56d5e724f2f8f3 (diff) | |
download | openlmi-scripts-61fcb7fbf492a856bf8f955f5911a2d712bf3fa5.tar.gz openlmi-scripts-61fcb7fbf492a856bf8f955f5911a2d712bf3fa5.tar.xz openlmi-scripts-61fcb7fbf492a856bf8f955f5911a2d712bf3fa5.zip |
Fixed "lmi raid create" throwing error on parsing RAID level.
Diffstat (limited to 'commands/storage/lmi')
-rw-r--r-- | commands/storage/lmi/scripts/storage/raid_cmd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/storage/lmi/scripts/storage/raid_cmd.py b/commands/storage/lmi/scripts/storage/raid_cmd.py index e76a861..c33596f 100644 --- a/commands/storage/lmi/scripts/storage/raid_cmd.py +++ b/commands/storage/lmi/scripts/storage/raid_cmd.py @@ -82,7 +82,7 @@ class Create(command.LmiCheckResult): """ Implementation of 'raid create' command. """ - raid.create_raid(ns, devices, level, _name) + raid.create_raid(ns, devices, int(level), _name) class Delete(command.LmiCheckResult): |