modify log level
This commit is contained in:
parent
ea2249c30c
commit
a5f7d5e9cf
|
@ -84,7 +84,7 @@ func (r RuleEval) Start() {
|
|||
return
|
||||
default:
|
||||
r.Work()
|
||||
logger.Infof("rule executed,rule_id=%d", r.RuleID())
|
||||
logger.Debugf("rule executed,rule_id=%d", r.RuleID())
|
||||
interval := r.rule.PromEvalInterval
|
||||
if interval <= 0 {
|
||||
interval = 10
|
||||
|
|
|
@ -37,6 +37,7 @@ func metricViewAdd(c *gin.Context) {
|
|||
func metricViewDel(c *gin.Context) {
|
||||
var f idsForm
|
||||
ginx.BindJSON(c, &f)
|
||||
f.Verify()
|
||||
|
||||
me := c.MustGet("user").(*models.User)
|
||||
if me.IsAdmin() {
|
||||
|
|
Loading…
Reference in New Issue