Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix skip_devcount check from Pyry's commits

  • Loading branch information...
commit 2b4122081241927b617b1b91ff16c2e425c81147 1 parent 5093595
@dormando dormando authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/MogileFS/Worker/Fsck.pm
View
2  lib/MogileFS/Worker/Fsck.pm
@@ -291,7 +291,7 @@ sub fix_fid {
}
# Clean up the device count if it's wrong
- unless(MogileFS->config('skip_devcount') || scalar($fid->devids) == $fid->devcount) {
+ unless(MogileFS::Config->server_setting_cached('skip_devcount') || scalar($fid->devids) == $fid->devcount) {
$fid->update_devcount();
$fid->fsck_log(EV_BAD_COUNT);
}
Please sign in to comment.
Something went wrong with that request. Please try again.