Fix typo in config options
Some drivers:transport:websocket options had dashes instead of underscore which caused zaqar to ignore them. Change-Id: I0a0d0ddf5704415745868d39d763df0e43a21a61 Co-Authored-By: Thomas Hervé <therve@redhat.com> Related-Bug: #1727406 Closes-Bug: #1730179
This commit is contained in:
parent
5ff5693300
commit
f68f5e9217
@ -33,9 +33,9 @@ class zaqar::transport::websocket(
|
||||
zaqar_config {
|
||||
'drivers:transport:websocket/bind': value => $bind;
|
||||
'drivers:transport:websocket/port': value => $port;
|
||||
'drivers:transport:websocket/external-port': value => $external_port;
|
||||
'drivers:transport:websocket/notification-bind': value => $notification_bind;
|
||||
'drivers:transport:websocket/notification-port': value => $notification_port;
|
||||
'drivers:transport:websocket/external_port': value => $external_port;
|
||||
'drivers:transport:websocket/notification_bind': value => $notification_bind;
|
||||
'drivers:transport:websocket/notification_port': value => $notification_port;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -17,9 +17,9 @@ describe 'zaqar::transport::websocket' do
|
||||
it 'configures custom values' do
|
||||
is_expected.to contain_zaqar_config('drivers:transport:websocket/bind').with_value('1')
|
||||
is_expected.to contain_zaqar_config('drivers:transport:websocket/port').with_value('2')
|
||||
is_expected.to contain_zaqar_config('drivers:transport:websocket/external-port').with_value('3')
|
||||
is_expected.to contain_zaqar_config('drivers:transport:websocket/notification-bind').with_value('4')
|
||||
is_expected.to contain_zaqar_config('drivers:transport:websocket/notification-port').with_value('5')
|
||||
is_expected.to contain_zaqar_config('drivers:transport:websocket/external_port').with_value('3')
|
||||
is_expected.to contain_zaqar_config('drivers:transport:websocket/notification_bind').with_value('4')
|
||||
is_expected.to contain_zaqar_config('drivers:transport:websocket/notification_port').with_value('5')
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user