/[Apache-SVN]
ViewVC logotype

Revision 1063026


Jump to revision: Previous Next
Author: lutter
Date: Mon Jan 24 22:21:02 2011 UTC (13 years, 2 months ago)
Changed paths: 2
Log Message:
Only make available/access drivers within a request

There is no point talking about a driver outside the context of a request
anymore, since we don't know until request time what driver the user wants.

Because of the lazy instantiation of drivers, accessing a driver outside of
a request can lead to nasty races.

  * lib/drivers.rb: do not include module Deltacloud in Object
  * lib/deltacloud/helpers/application_helper.rb: include module Deltacloud

Changed paths

Path Details
Directoryincubator/deltacloud/trunk/server/lib/deltacloud/helpers/application_helper.rb modified , text changed
Directoryincubator/deltacloud/trunk/server/lib/drivers.rb modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26