filer watch "/etc" folder for configuration changes

This commit is contained in:
Chris Lu
2020-11-14 14:26:08 -08:00
parent b2a72630da
commit 442e092995
2 changed files with 24 additions and 0 deletions

View File

@@ -141,6 +141,9 @@ func (ma *MetaAggregator) subscribeToOneFiler(f *Filer, self string, peer string
return fmt.Errorf("process %v: %v", resp, err)
}
lastTsNs = resp.TsNs
f.onMetadataChangeEvent(resp)
}
})
if err != nil {