Skip to content

Commit

Permalink
python 3 float >> int fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kenrusse committed Jul 1, 2021
1 parent 9a9630e commit ed978b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imcsdk/apis/server/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def _raid_max_size_get(raid_level, total_size, min_size, span_depth):

if raid_level not in size:
raise ValueError("Unsupported Raid level - {0}".format(raid_level))
return size[raid_level]
return int(size[raid_level])


def _vd_max_size_get(handle,
Expand Down

0 comments on commit ed978b0

Please sign in to comment.