store workspace in the correct place for module_run events
git-svn-id: file:///home/svn/framework3/trunk@8659 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
parent
eb8e8d22b5
commit
99f4507405
|
@ -206,10 +206,9 @@ class FrameworkEventSubscriber
|
|||
datastore_hash = instance.datastore.to_h
|
||||
|
||||
info = {}
|
||||
info[:workspace] = framework.db.find_workspace(instance.workspace),
|
||||
info[:module_name] = instance.refname
|
||||
info[:datastore] = datastore_hash
|
||||
report_event(:name => "module_run", :info => info)
|
||||
report_event(:name => "module_run", :info => info, :workspace => framework.db.find_workspace(instance.workspace))
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue