We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98b8af5 commit 2609544Copy full SHA for 2609544
core/stats.go
@@ -204,6 +204,11 @@ func (c *StatsConnection) monitorSocket() {
204
}
205
206
207
+// Public wrapper for updating stats from patters
208
+func (c *StatsConnection) UpdateStats(statDir **adapter.StatDir, patterns ...string) error {
209
+ return c.updateStats(statDir, patterns...)
210
+}
211
+
212
func (c *StatsConnection) updateStats(statDir **adapter.StatDir, patterns ...string) error {
213
if statDir == nil {
214
panic("statDir must not nil")
0 commit comments