fix report_note taking a Service obj in opts[:service]

git-svn-id: file:///home/svn/framework3/trunk@10493 4d416f70-5f16-0410-b530-b9f4589650da
unstable
James Lee 2010-09-27 03:52:39 +00:00
parent 971d1efcfb
commit 7b2a29365f
1 changed files with 2 additions and 0 deletions

View File

@ -553,6 +553,8 @@ class DBManager
end
if host and (opts[:port] and opts[:proto])
service = get_service(wspace, host, opts[:proto], opts[:port])
elsif opts[:service] and opts[:service].kind_of? Service
service = opts[:service]
end
if host