lib/docker_sync/sync_strategy/unison.rb in docker-sync-0.0.7 vs lib/docker_sync/sync_strategy/unison.rb in docker-sync-0.0.8

- old
+ new

@@ -65,9 +65,10 @@ args.push(@options['sync_args']) if @options.key?('sync_args') args.push("socket://#{@options['sync_host_ip']}:#{@options['sync_host_port']}/") if @options.key?('sync_user') || @options.key?('sync_group') || @options.key?('sync_groupid') || @options.key?('sync_userid') raise('Unison does not support sync_user, sync_group, sync_groupid or sync_userid - please use rsync if you need that') end + return args end def start_container say_status 'ok', 'Starting unison', :white running = `docker ps --filter 'status=running' --filter 'name=#{@sync_name}' | grep #{@sync_name}`