Satoru Takeuchi
4766954dfc
ceph: suppress golanglint-ci complaints
Suppress the following complaints.
```
$ golangci-lint run -E gosec
pkg/operator/test/client.go:244:13: G404: Use of weak random number generator (math/rand instead of crypto/rand) (gosec)
randIdx := rand.Intn(len(nodes.Items))
^
tests/framework/installer/ceph_manifests_v1.5.go:44:19: G107: Potential HTTP request made with variable url (gosec)
response, err := http.Get(url)
^
pkg/daemon/ceph/client/pool.go:182:6: ineffectual assignment to stats (ineffassign)
var stats = new(PoolStatistics)
^
pkg/operator/k8sutil/pod_test.go:34:2: ineffectual assignment to container (ineffassign)
container, err := GetMatchingContainer([]v1.Container{}, expectedName)
^
```
Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
2021-03-12 15:34:27 +00:00
..
2021-03-10 08:37:17 -07:00
2021-02-06 00:03:41 -07:00
2021-02-11 14:06:42 +01:00
2021-03-12 15:34:27 +00:00
2021-03-12 15:34:27 +00:00
2021-02-03 17:28:47 +01:00
2017-08-24 14:02:53 -07:00