Skip to content

Commit

Permalink
this value needs a default in order for the insert to succeeed...
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Crauwels committed Aug 3, 2017
1 parent fef20a4 commit f78c13d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet/provider/proxy_mysql_server/proxysql.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def create
hostname = @resource.value(:hostname)
port = @resource.value(:port) || 3306
hostgroup_id = @resource.value(:hostgroup_id) || 0
status = @resource.value(:status)
status = @resource.value(:status) || 'ONLINE'
weight = @resource.value(:weight) || 1
compression = @resource.value(:compression) || 0
max_connections = @resource.value(:max_connections) || 1000
Expand Down

0 comments on commit f78c13d

Please sign in to comment.