warden/lib/warden/container/base.rb
def acquire(resources)
          unless resources[:network]
            network = network_pool.acquire
            unless network
              raise WardenError.new("could not acquire network")
            end

            resources[:network] = network
          end
        end
# Acquire resources required for every container instance.
Acquire resources required for every container instance.
Acquire resources required for every container instance .
def acquire(resources)
          unless resources[:network]
            network = network_pool.acquire
            unless network
              raise WardenError.new("could not acquire network")
            end
            resources[:network] = network
          end
        end
def acquire ( resources ) unless resources [ :network ] network = network_pool . acquire unless network raise WardenError . new ( "could not acquire network" ) end resources [ :network ] = network end end
Acquire resources required for every container instance.
Acquire resources required for every container instance .
resources