Error is not a valid warning level

This commit is contained in:
Jamie Cameron
2017-06-21 15:41:57 -07:00
parent 2ae5345117
commit dcd0daac42

View File

@@ -211,7 +211,7 @@ if ($info->{'disk_fs'} && &show_section('disk')) {
"<tt>$fs->{'dir'}</tt>",
&nice_size($fs->{'total'}));
push(@rv, { 'type' => 'warning',
'level' => 'error',
'level' => 'danger',
'warning' => $msg });
}
elsif ($fs->{'free'}*1.0 / $fs->{'total'} < 0.01) {