Commit 9485baba authored by Francesc Guasch's avatar Francesc Guasch
Browse files

fix(backend): convert disk size to integer

parent bebd38d9
......@@ -673,6 +673,7 @@ sub create_volume {
my $file_xml = delete $args{xml} or confess "ERROR: Missing XML template";
my $size = delete $args{size};
$size = int($size) if defined $size;
my $swap =(delete $args{swap} or 0);
my $target = delete $args{target};
my $capacity = delete $args{capacity};
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment