mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Minor fix to inline help.
This commit is contained in:
parent
b059145cb2
commit
6480a770c3
2 changed files with 9 additions and 2 deletions
|
@ -45,7 +45,7 @@ module Fog
|
|||
# * 'OS-EXT-STS:vm_state'<~String> - Extended vm state
|
||||
def get_server_details(server_id)
|
||||
request(
|
||||
:expects => 200,
|
||||
:expects => [200, 203],
|
||||
:method => 'GET',
|
||||
:path => "servers/#{server_id}"
|
||||
)
|
||||
|
|
|
@ -7,6 +7,13 @@ module Fog
|
|||
#
|
||||
# ==== Parameters
|
||||
# * options<~Hash>: filter options
|
||||
# * 'name'<~String> - Filters by the name of the server
|
||||
# * 'image'<~String> - Filters by the UUId of the image
|
||||
# * 'flavor'<~String> - Filters by the UUId of the flavor
|
||||
# * 'status'<~String> - Filters by the status of the server
|
||||
# * 'marker'<~String> - The ID of the last item in the previous list
|
||||
# * 'limit'<~Integer> - Sets the page size
|
||||
# * 'changes-since'<~DateTime> - Filters by the changes-since time. The list contains servers that have been deleted since the changes-since time.
|
||||
#
|
||||
# ==== Returns
|
||||
# * response<~Excon::Response>:
|
||||
|
@ -17,7 +24,7 @@ module Fog
|
|||
# * 'links'<~Array> - array of server links
|
||||
def list_servers(options = {})
|
||||
request(
|
||||
:expects => 200,
|
||||
:expects => [200, 203],
|
||||
:method => 'GET',
|
||||
:path => 'servers',
|
||||
:query => options
|
||||
|
|
Loading…
Reference in a new issue