chore: clear lint warnings

Signed-off-by: Alejandro Mery <amery@jpi.io>
This commit is contained in:
2024-07-25 17:16:02 +00:00
parent ac43ee869c
commit 401603f4be
3 changed files with 4 additions and 9 deletions
+1 -4
View File
@@ -73,10 +73,7 @@ func newCephScanTODO(cfg *ceph.Config) *cephScanTODO {
func (m *Cluster) scanCephMonitors(opts *ScanOptions) error {
cfg, err := m.GetCephConfig()
switch {
case os.IsNotExist(err):
err = nil
case err != nil:
if err != nil && !os.IsNotExist(err) {
return err
}