});
}
} else if (var == "balancer") {
- ss << "setting the metadata load balancer to " << val;
+ if (val.empty())
+ ss << "unsetting the metadata load balancer";
+ else
+ ss << "setting the metadata load balancer to " << val;
fsmap.modify_filesystem(
fs->fscid,
[val](std::shared_ptr<Filesystem> fs)
# no arg, but not required? Continue consuming mysig
# in case there are later required args
- if not myarg and not desc.req:
+ if myarg == None and not desc.req:
break
# out of arguments for a required param?
# Either return (if partial validation) or raise
- if not myarg and desc.req:
+ if myarg == None and desc.req:
if desc.N and desc.numseen < 1:
# wanted N, didn't even get 1
if partial: