fix(deps): update module github.com/stretchr/testify to v1.10.0 #188
Annotations
10 errors and 1 warning
src/mssql.go#L92
exitAfterDefer: os.Exit will exit, and `defer con.Close()` will not run (gocritic)
|
src/metrics/database_metric_definitions.go#L17
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(query, databasePlaceHolder, dbName, -1)` (gocritic)
|
src/metrics/metric_definitions_test.go#L28
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(query, "%REPLACE%", "*", -1)` (gocritic)
|
src/args/argument_list.go#L34
cyclomatic complexity 12 of func `(ArgumentList).Validate` is high (> 10) (gocyclo)
|
src/metrics/metrics.go#L155
cyclomatic complexity 13 of func `populateCustomMetrics` is high (> 10) (gocyclo)
|
src/metrics/metrics.go#L40
cyclomatic complexity 11 of func `PopulateInstanceMetrics` is high (> 10) (gocyclo)
|
src/connection/sql_connection.go#L55
unnecessary leading newline (whitespace)
|
src/connection/sql_connection.go#L87
unnecessary trailing newline (whitespace)
|
src/metrics/database_metric_definitions_test.go#L8
unnecessary leading newline (whitespace)
|
src/args/argument_list.go#L37
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"invalid configuration: must specify a hostname\")" (err113)
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The logs for this run have expired and are no longer available.
Loading