diff options
Diffstat (limited to 'weed/filer/filer_conf.go')
| -rw-r--r-- | weed/filer/filer_conf.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/weed/filer/filer_conf.go b/weed/filer/filer_conf.go index f3a25242d..554a00f58 100644 --- a/weed/filer/filer_conf.go +++ b/weed/filer/filer_conf.go @@ -166,6 +166,9 @@ func mergePathConf(a, b *filer_pb.FilerConf_PathConf) { a.VolumeGrowthCount = b.VolumeGrowthCount } a.ReadOnly = b.ReadOnly || a.ReadOnly + if b.MaxFileNameLength > 0 { + a.MaxFileNameLength = b.MaxFileNameLength + } a.DataCenter = util.Nvl(b.DataCenter, a.DataCenter) a.Rack = util.Nvl(b.Rack, a.Rack) a.DataNode = util.Nvl(b.DataNode, a.DataNode) |
