Chore/fix lint issues (#27704)
* Chore: Fix linting issues Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
@@ -303,7 +303,7 @@ func SetAlertState(cmd *models.SetAlertStateCommand) error {
|
||||
alert.EvalData = cmd.EvalData
|
||||
|
||||
if cmd.Error == "" {
|
||||
alert.ExecutionError = " " //without this space, xorm skips updating this field
|
||||
alert.ExecutionError = " " // without this space, xorm skips updating this field
|
||||
} else {
|
||||
alert.ExecutionError = cmd.Error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user