Skip to content

Instantly share code, notes, and snippets.

@seankhliao
seankhliao / patch.diff
Last active January 30, 2023 15:48
target allocator concurrent map read write
diff --git a/cmd/otel-allocator/config/config.go b/cmd/otel-allocator/config/config.go
index 7185b5c..4b5dd20 100644
--- a/cmd/otel-allocator/config/config.go
+++ b/cmd/otel-allocator/config/config.go
@@ -21,6 +21,7 @@ import (
"io/fs"
"os"
"path/filepath"
+ "regexp"
"time"