fix(ops): 修复Go代码格式问题
This commit is contained in:
@@ -192,4 +192,3 @@ func (h *OpsHandler) UpdateMetricThresholds(c *gin.Context) {
|
|||||||
}
|
}
|
||||||
response.Success(c, updated)
|
response.Success(c, updated)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -553,4 +553,3 @@ func (s *OpsService) UpdateMetricThresholds(ctx context.Context, cfg *OpsMetricT
|
|||||||
_ = json.Unmarshal(raw, updated)
|
_ = json.Unmarshal(raw, updated)
|
||||||
return updated, nil
|
return updated, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user