basic refactor + new prototype
This commit is contained in:
@@ -196,7 +196,7 @@ func (monitor *Monitor) AnalyseData() {
|
||||
}
|
||||
}
|
||||
|
||||
func (monitor *Monitor) ValidateConfiguration() error {
|
||||
func (monitor *Monitor) Validate() error {
|
||||
if len(monitor.ExpectedBody) > 0 {
|
||||
exp, err := regexp.Compile(monitor.ExpectedBody)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user