Fix issue with LDAP protocol radio button

This patch modifies the label of the radio button used for selecting
the LDAP protocol to make it unique across all the StackLight plugins.

Change-Id: I9fff175af82a5e6bab8666fa5f8c8f1b64926b0c
Partial-Bug: #1599778
(cherry picked from commit 57e43e3a0a)
This commit is contained in:
Guillaume Thouvenin 2016-08-09 11:51:40 +02:00
parent 37c3edf70a
commit e02a272b9d
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ $influxdb_port = hiera('lma::influxdb::influxdb_port', 8086)
$password = $plugin['nagios_password']
$ldap_enabled = $plugin['ldap_enabled'] or false
$ldap_protocol = $plugin['ldap_protocol']
$ldap_protocol = $plugin['ldap_protocol_for_nagios']
$ldap_servers = split($plugin['ldap_servers'], '\s+')
$ldap_bind_dn = $plugin['ldap_bind_dn']
$ldap_bind_password = $plugin['ldap_bind_password']

View File

@ -137,7 +137,7 @@ attributes:
weight: 100
type: "checkbox"
ldap_protocol:
ldap_protocol_for_nagios:
type: "radio"
value: 'ldap'
weight: 110