summaryrefslogtreecommitdiffstats
path: root/lib/puppet/reports
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-12-07 17:04:14 -0600
committerJames Turnbull <james@lovedthanlost.net>2008-12-08 15:47:03 +1100
commit6075d10373dbdb7de1f665cc39453daa6418cffd (patch)
treec12b8483da34de77eb6892d09628cef2ff8d25d4 /lib/puppet/reports
parent18fe5c3ac2ad4c42afd30ba2effad28607fe746d (diff)
downloadpuppet-6075d10373dbdb7de1f665cc39453daa6418cffd.tar.gz
puppet-6075d10373dbdb7de1f665cc39453daa6418cffd.tar.xz
puppet-6075d10373dbdb7de1f665cc39453daa6418cffd.zip
Fixing #1794 - returning sync when it is already initialized
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib/puppet/reports')
-rw-r--r--lib/puppet/reports/tagmail.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/puppet/reports/tagmail.rb b/lib/puppet/reports/tagmail.rb
index fa4e536e1..00571a8be 100644
--- a/lib/puppet/reports/tagmail.rb
+++ b/lib/puppet/reports/tagmail.rb
@@ -181,6 +181,7 @@ Puppet::Reports.register_report(:tagmail) do
unless defined?(@sync)
@sync = Sync.new
end
+ @sync
end
end