Skip to content

Commit

Permalink
sap_ha_pacemaker_cluster: Remove unnecessary parens
Browse files Browse the repository at this point in the history
  • Loading branch information
ja9fuchs committed Nov 27, 2024
1 parent 08aee4e commit dfd3b38
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
{% set idname = __sap_ha_pacemaker_cluster_nwas_sapmnt_filesystem_resource_name %}
{% elif '/usr/sap/trans' in __mountpoint -%}
{% set idname = __sap_ha_pacemaker_cluster_nwas_transports_filesystem_resource_name %}
{% elif '/usr/sap/' + (__sap_ha_pacemaker_cluster_nwas_sid) + '/SYS' in __mountpoint -%}
{% elif '/usr/sap/' + __sap_ha_pacemaker_cluster_nwas_sid + '/SYS' in __mountpoint -%}
{% set idname = __sap_ha_pacemaker_cluster_nwas_sys_filesystem_resource_name %}
{% endif %}
{{ idname }}
Expand Down Expand Up @@ -162,15 +162,15 @@
{{ __sap_ha_pacemaker_cluster_nwas_sapmnt_filesystem_resource_clone_name }}
{%- elif '/usr/sap/trans' in __mountpoint -%}
{{ __sap_ha_pacemaker_cluster_nwas_transports_filesystem_resource_clone_name }}
{%- elif '/usr/sap/' + (__sap_ha_pacemaker_cluster_nwas_sid) + '/SYS' in __mountpoint -%}
{%- elif '/usr/sap/' + __sap_ha_pacemaker_cluster_nwas_sid + '/SYS' in __mountpoint -%}
{{ __sap_ha_pacemaker_cluster_nwas_sys_filesystem_resource_clone_name }}
{%- endif %}
resource_id: |-
{%- if '/sapmnt' in __mountpoint -%}
{{ __sap_ha_pacemaker_cluster_nwas_sapmnt_filesystem_resource_name }}
{%- elif '/usr/sap/trans' in __mountpoint -%}
{{ __sap_ha_pacemaker_cluster_nwas_transports_filesystem_resource_name }}
{%- elif '/usr/sap/' + (__sap_ha_pacemaker_cluster_nwas_sid) + '/SYS' in __mountpoint -%}
{%- elif '/usr/sap/' + __sap_ha_pacemaker_cluster_nwas_sid + '/SYS' in __mountpoint -%}
{{ __sap_ha_pacemaker_cluster_nwas_sys_filesystem_resource_name }}
{%- endif %}
meta_attrs:
Expand Down

0 comments on commit dfd3b38

Please sign in to comment.