Skip to content

Commit 9268c21

Browse files
author
Björn Thoor
committed
chore: removed redundant !=
1 parent 758ea52 commit 9268c21

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

REFERENCE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -833,7 +833,7 @@ Default value: `$zabbix::params::server_javagatewayport`
833833

834834
##### <a name="-zabbix--smsdevices"></a>`smsdevices`
835835

836-
Data type: `Any`
836+
Data type: `Optional[String]`
837837

838838
Which devices to use for sms texting
839839

templates/zabbix_server.conf.erb

+3-2
Original file line numberDiff line numberDiff line change
@@ -911,6 +911,7 @@ LoadModulePath=<%= @loadmodulepath %>
911911
<% if @webserviceurl %>WebServiceURL=<%= @webserviceurl -%><% end %>
912912
<% end %>
913913

914+
<%# FIXME: vi får v 6.0 %>
914915
<% if @zabbix_version.to_f >= 7.0 %>
915916
### Option: ServiceManagerSyncFrequency
916917
# How often Zabbix will synchronize configuration of a service manager (in seconds).
@@ -962,7 +963,7 @@ LoadModulePath=<%= @loadmodulepath %>
962963
# Mandatory: no
963964
# Default:
964965
# SMSDevices=
965-
<% if @smsdevices != '' %>SMSDevices=<%= @smsdevices -%><% end %>
966+
<% if @smsdevices -%>SMSDevices=<%= @smsdevices %><% end %>
966967
<% end %>
967968

968969
<% if @zabbix_version.to_f >= 5.4 %>
@@ -1018,4 +1019,4 @@ LoadModulePath=<%= @loadmodulepath %>
10181019
# Default:
10191020
# StartBrowserPollers=1
10201021

1021-
<% end %>
1022+
<% end %>

0 commit comments

Comments
 (0)