Added unit tests for several scenarios #87
Annotations
5 errors and 10 warnings
service/service_test.go#L21
G108: Profiling endpoint is automatically exposed on /debug/pprof (gosec)
|
service/service_test.go#L38
G114: Use of net/http serve function that has no support for setting timeouts (gosec)
|
service/service_unit_test.go#L52
G404: Use of weak random number generator (math/rand instead of crypto/rand) (gosec)
|
service/step_defs_test.go#L2016
G109: Potential Integer overflow made by strconv.Atoi result conversion to int16/32 (gosec)
|
|
pkg/file/file.go#L267
unused-parameter: parameter 'pmaxClient' seems to be unused, consider removing or renaming it as _ (revive)
|
pkg/file/file.go#L314
unused-parameter: parameter 'pmaxClient' seems to be unused, consider removing or renaming it as _ (revive)
|
service/controller.go#L1378
unused-parameter: parameter 'namespace' seems to be unused, consider removing or renaming it as _ (revive)
|
service/controller.go#L1595
unused-parameter: parameter 'volumePrefix' seems to be unused, consider removing or renaming it as _ (revive)
|
service/controller.go#L1809
unused-parameter: parameter 'id' seems to be unused, consider removing or renaming it as _ (revive)
|
service/controller.go#L2673
unused-parameter: parameter 'vol' seems to be unused, consider removing or renaming it as _ (revive)
|
service/controller.go#L2724
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
service/controller.go#L2725
unused-parameter: parameter 'req' seems to be unused, consider removing or renaming it as _ (revive)
|
service/controller.go#L2732
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
service/controller.go#L2733
unused-parameter: parameter 'req' seems to be unused, consider removing or renaming it as _ (revive)
|
The logs for this run have expired and are no longer available.
Loading