mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-23 21:40:20 +00:00
16c4e33b09
gosec-2.3.0 complains about the following: [/go/src/github.com/ceph/ceph-csi/internal/util/cephcmds.go:146] - G307 (CWE-): Deferring unsafe method "*os.File" on type "Close" (Confidence: HIGH, Severity: MEDIUM) > defer tmpFile.Close() By logging the error from Close(), the warning is gone. Signed-off-by: Niels de Vos <ndevos@redhat.com> |
||
---|---|---|
.. | ||
cephfs | ||
csi-common | ||
journal | ||
liveness | ||
rbd | ||
util |