updates
- moving cpus to string to allow for env vars and other config options besides hardcoded floats
This commit is contained in:
@@ -28,3 +28,13 @@ func (i *Issue) Fatal() {
|
||||
i.Level = FATAL
|
||||
i.Safe = false
|
||||
}
|
||||
|
||||
func (i *Issue) Serious() {
|
||||
if i.Level == FATAL {
|
||||
return
|
||||
} else if i.Level == WARNING {
|
||||
i.Level = FATAL
|
||||
} else if i.Level == PASSED {
|
||||
i.Level = WARNING
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user