Skip to content

Commit b2df113

Browse files
committed
preflight: Don't put error message when check fails
preflight checks have auto fix functionality (most of them) otherwise Nofix tag make sure it is not fixable automatic so error out. we shouldn't put logging.error for these checks because it shows as part of setup.
1 parent e267724 commit b2df113

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/crc/preflight/preflight.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func (check *Check) doCheck(config crcConfig.Storage) error {
6262

6363
err := check.check()
6464
if err != nil {
65-
logging.Error(err.Error())
65+
logging.Debug(err.Error())
6666
}
6767
return err
6868
}

0 commit comments

Comments
 (0)