mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
fix a couple typos
This commit is contained in:
parent
61b77b04fc
commit
95c775c35b
3 changed files with 4 additions and 4 deletions
|
@ -24,7 +24,7 @@ module Fog
|
|||
}.merge!(attributes))
|
||||
data['addressesSet'].each do |address|
|
||||
addresses << Fog::AWS::EC2::Address.new({
|
||||
:addresses => self,
|
||||
:addresses => addresses,
|
||||
:connection => connection
|
||||
}.merge!(address))
|
||||
end
|
||||
|
|
|
@ -32,7 +32,7 @@ module Fog
|
|||
for member in self
|
||||
data << "#{member.inspect},"
|
||||
end
|
||||
data.chop!
|
||||
data.chop! unless self.empty?
|
||||
data << "]>"
|
||||
end
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ unless Fog.mocking?
|
|||
module Rackspace
|
||||
class Servers
|
||||
|
||||
# List all servers (IDs and names only)
|
||||
# List all servers details
|
||||
#
|
||||
# ==== Returns
|
||||
# * response<~Fog::AWS::Response>:
|
||||
|
@ -23,7 +23,7 @@ unless Fog.mocking?
|
|||
# * 'metadata'<~Hash> - metadata
|
||||
def get_servers_details
|
||||
request(
|
||||
:expects => 200,
|
||||
:expects => [200, 203],
|
||||
:method => 'GET',
|
||||
:path => 'servers/detail.json'
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue