Skip to content

Commit

Permalink
Change notification from immediately to delayed
Browse files Browse the repository at this point in the history
  • Loading branch information
what do you want? committed Oct 30, 2014
1 parent 308f8fe commit f7b41c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions providers/service_def.rb
Expand Up @@ -25,13 +25,13 @@
content new_resource.to_json

action :create
notifies :reload, 'service[consul]', :immediately
notifies :reload, 'service[consul]', :delayed
end
end

action :delete do
file new_resource.path do
action :delete
notifies :reload, 'service[consul]', :immediately
notifies :reload, 'service[consul]', :delayed
end
end

0 comments on commit f7b41c0

Please sign in to comment.