Merge hotfix to dev (#1911)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <actions@github.com> Co-authored-by: Joey Orlando <joey.orlando@grafana.com> Co-authored-by: Vadim Stepanov <vadimkerr@gmail.com> Co-authored-by: Ildar Iskhakov <Ildar.iskhakov@grafana.com> Co-authored-by: Matvey Kukuy <Matvey-Kuk@users.noreply.github.com> Co-authored-by: Innokentii Konstantinov <innokenty.konstantinov@grafana.com>
This commit is contained in:
parent
49d2f477c7
commit
5992fc3cdc
3 changed files with 14 additions and 5 deletions
|
|
@ -22,6 +22,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
- Fix issue with how OnCall determines if a cloud Grafana Instance supports RBAC by @joeyorlando ([#1880](https://github.com/grafana/oncall/pull/1880))
|
||||
- Fix issue trying to set maintenance mode for integrations belonging to non-current team
|
||||
|
||||
## v1.2.20 (2023-05-09)
|
||||
|
||||
### Fixed
|
||||
|
||||
- Hotfix perform notification task
|
||||
|
||||
## v1.2.19 (2023-05-04)
|
||||
|
||||
### Fixed
|
||||
|
|
|
|||
|
|
@ -189,9 +189,12 @@ class AlertTemplater(ABC):
|
|||
if attr == "title"
|
||||
else settings.JINJA_RESULT_MAX_LENGTH
|
||||
)
|
||||
added_context[f"web_{attr}"] = apply_jinja_template(
|
||||
added_attr_template, data, result_length_limit=result_length_limit, **context
|
||||
)
|
||||
try:
|
||||
added_context[f"web_{attr}"] = apply_jinja_template(
|
||||
added_attr_template, data, result_length_limit=result_length_limit, **context
|
||||
)
|
||||
except (JinjaTemplateError, JinjaTemplateWarning) as e:
|
||||
added_context[f"web_{attr}"] = e.fallback_message
|
||||
else:
|
||||
added_context[f"web_{attr}"] = f"web_{attr} is not set"
|
||||
context = {**context, **added_context}
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@ apiVersion: v2
|
|||
name: oncall
|
||||
description: Developer-friendly incident response with brilliant Slack integration
|
||||
type: application
|
||||
version: 1.2.10
|
||||
appVersion: v1.2.10
|
||||
version: 1.2.17
|
||||
appVersion: v1.2.17
|
||||
dependencies:
|
||||
- name: cert-manager
|
||||
version: v1.8.0
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue