mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Corrected Classname and error comment for lib/fog/core/compute.rb was set as storage
This commit is contained in:
parent
2a71ed0a4c
commit
2da4467ef4
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
module Fog
|
module Fog
|
||||||
class Storage
|
class Compute
|
||||||
|
|
||||||
def self.new(attributes)
|
def self.new(attributes)
|
||||||
case provider = attributes.delete(:provider)
|
case provider = attributes.delete(:provider)
|
||||||
|
@ -25,7 +25,7 @@ module Fog
|
||||||
require 'fog/slicehost'
|
require 'fog/slicehost'
|
||||||
Fog::Slicehost::Compute.new(attributes)
|
Fog::Slicehost::Compute.new(attributes)
|
||||||
else
|
else
|
||||||
raise ArgumentError.new("#{provider} is not a recognized storage provider")
|
raise ArgumentError.new("#{provider} is not a recognized compute provider")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue