diff --git a/lib/fog/brightbox/compute.rb b/lib/fog/brightbox/compute.rb index e5d276846..24c183b68 100644 --- a/lib/fog/brightbox/compute.rb +++ b/lib/fog/brightbox/compute.rb @@ -215,7 +215,10 @@ module Fog # @return [Fog::Compute::Brightbox::Account] # def account - Fog::Compute::Brightbox::Account.new(get_scoped_account) + Fog::Compute::Brightbox::Account.new(get_scoped_account).tap do |acc| + # Connection is more like the compute 'service' + acc.connection = self + end end # Returns true if authentication is being performed as a user