File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
receiver/oracledbreceiver Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,6 @@ type oracleScraper struct {
106106 tablespaceUsageClient dbClient
107107 systemResourceLimitsClient dbClient
108108 sessionCountClient dbClient
109- samplesQueryClient dbClient
110109 oracleQueryMetricsClient dbClient
111110 oraclePlanDataClient dbClient
112111 db * sql.DB
Original file line number Diff line number Diff line change 88 "database/sql"
99 "encoding/json"
1010 "errors"
11- "fmt"
1211 "log"
1312 "os"
1413 "path/filepath"
@@ -253,7 +252,7 @@ func TestScraper_ScrapeTopNLogs(t *testing.T) {
253252 Err : errors .New ("Mock error" ),
254253 }
255254 },
256- errWanted : fmt . Sprintf ( "error executing oracleQueryMetricsSQL: Mock error" ) ,
255+ errWanted : "error executing oracleQueryMetricsSQL: Mock error" ,
257256 },
258257 }
259258
You can’t perform that action at this time.
0 commit comments