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 ab5afc5cc..da02c5b20 100644 --- a/weed/filer/filer_conf.go +++ b/weed/filer/filer_conf.go @@ -126,6 +126,9 @@ func mergePathConf(a, b *filer_pb.FilerConf_PathConf) { if b.VolumeGrowthCount > 0 { a.VolumeGrowthCount = b.VolumeGrowthCount } + if b.ReadOnly { + a.ReadOnly = b.ReadOnly + } } func (fc *FilerConf) ToProto() *filer_pb.FilerConf { |
