chore(victorops): remove unused code

This commit is contained in:
bergquist
2016-11-29 22:26:42 +01:00
parent a6ea2f4fdb
commit 83e90325c9

View File

@@ -27,12 +27,9 @@ func NewVictoropsNotifier(model *models.AlertNotification) (alerting.Notifier, e
return nil, alerting.ValidationError{Reason: "Could not find victorops url property in settings"}
}
alertOnExecError := model.Settings.Get("alertOnExecError").MustBool()
return &VictoropsNotifier{
NotifierBase: NewNotifierBase(model.Id, model.IsDefault, model.Name, model.Type, model.Settings),
URL: url,
AlertOnExecError: alertOnExecError,
log: log.New("alerting.notifier.victorops"),
}, nil
}
@@ -43,7 +40,6 @@ func NewVictoropsNotifier(model *models.AlertNotification) (alerting.Notifier, e
type VictoropsNotifier struct {
NotifierBase
URL string
AlertOnExecError bool
log log.Logger
}