(cherry picked from commit c59567a236)
Co-authored-by: Yuriy Tseretyan <yuriy.tseretyan@grafana.com>
This commit is contained in:
co-authored by
Yuriy Tseretyan
parent
c6e6309bc5
commit
76460e790d
@@ -262,6 +262,8 @@ func transExecErr(s string) (string, error) {
|
||||
// Keep last state is translated to error as we now emit a
|
||||
// DatasourceError alert when the state is error
|
||||
return "Error", nil
|
||||
case "ok":
|
||||
return "OK", nil
|
||||
}
|
||||
return "", fmt.Errorf("unrecognized Execution Error setting %v", s)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user