Skip to content

Commit 3385b6a

Browse files
committed
remove unused function
Signed-off-by: Mohamed Hamza <[email protected]>
1 parent 8050546 commit 3385b6a

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

go/vt/servenv/exporter.go

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -765,16 +765,3 @@ func addUnnamedExport(name string, v expvar.Var) {
765765
func combineLabels(label string, labels []string) []string {
766766
return append(append(make([]string, 0, len(labels)+1), label), labels...)
767767
}
768-
769-
func timing(name string) *TimingsWrapper {
770-
exporterMu.Lock()
771-
defer exporterMu.Unlock()
772-
773-
if v, ok := unnamedExports[name]; ok {
774-
return &TimingsWrapper{
775-
timings: v.(*stats.MultiTimings),
776-
}
777-
}
778-
779-
return nil
780-
}

0 commit comments

Comments
 (0)