Permalink
Browse files

don't override FTP last state, merge instead

  • Loading branch information...
1 parent 986c7e8 commit 3bfbaabb775a8291f7f3f9379fe373e4d6ff26a7 Dhruv Bansal committed Jan 31, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/wukong-deploy/extensions/ftp_syncer.rb
@@ -23,7 +23,7 @@ def after_sync
now = Time.now.utc.to_i
last_ftp_sync_summary = { state: 1, time: now}
last_ftp_sync_summary[:data] = now unless self.files.empty?
- Wukong::Deploy.vayacondios_client.set!(vayacondios_topic, "ftp.last", last_ftp_sync_summary)
+ Wukong::Deploy.vayacondios_client.set(vayacondios_topic, "ftp.last", last_ftp_sync_summary)
end
# Announces an error during a sync and updates the last sync

0 comments on commit 3bfbaab

Please sign in to comment.