admin: map unset reject_bad_md5 field to nil
commit2280594d422cbaa90362105afe695629115ebf8b
authorEric Wong <e@80x24.org>
Wed, 31 Aug 2016 02:21:04 +0000 (31 02:21 +0000)
committerEric Wong <e@80x24.org>
Wed, 31 Aug 2016 02:48:17 +0000 (31 02:48 +0000)
tree1c892b2556dc0dc79fe23260e0912de06b770040
parent8ef97c54d0e2aa762c75301790f4cd02fc851f0e
admin: map unset reject_bad_md5 field to nil

The 'reject_bad_md5' field may be of an unknown value
before the monitor is ready, so prepare for it and map
it to 'nil' instead of an empty string.  This hopefully
makes the Ruby API more Ruby-ish.
lib/mogilefs/admin.rb
test/fresh.rb