Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Commit 99d5a44

Browse files
authored
try and fix non-initialized hashmap (#323)
1 parent 8b39a70 commit 99d5a44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

collector/collector.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ type Metrics struct {
7878

7979
var (
8080
additionalMetrics Metrics
81-
hashMap map[int][]byte
81+
hashMap = make(map[int][]byte)
8282
namespace = "oracledb"
8383
exporterName = "exporter"
8484
)

0 commit comments

Comments
 (0)