summaryrefslogtreecommitdiffstats
path: root/perl-install/raid.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/raid.pm')
-rw-r--r--perl-install/raid.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/raid.pm b/perl-install/raid.pm
index cb814bd9b..5270d2218 100644
--- a/perl-install/raid.pm
+++ b/perl-install/raid.pm
@@ -140,7 +140,7 @@ sub make {
'--chunk=' . $part->{'chunk-size'},
"--level=$part->{level}",
"--raid-devices=$nb",
- if_($part->{'metadata'}, "--metadata=$part->{'metadata'}"),
+ if_($part->{metadata}, "--metadata=$part->{metadata}"),
map { devices::make($_->{device}) } @{$part->{disks}});
if (my $raw_part = get_md_info($dev)) {