mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[brightbox] Remove rebuild request, another no longer in API
This commit is contained in:
parent
7ca779c9aa
commit
6291125fa5
2 changed files with 0 additions and 28 deletions
|
@ -47,7 +47,6 @@ module Fog
|
|||
request :list_users
|
||||
request :list_zones
|
||||
request :map_cloud_ip
|
||||
request :rebuild_server
|
||||
request :reset_ftp_password_account
|
||||
request :resize_server
|
||||
request :shutdown_server
|
||||
|
|
|
@ -1,27 +0,0 @@
|
|||
module Fog
|
||||
module Brightbox
|
||||
class Compute
|
||||
class Real
|
||||
|
||||
def rebuild_server(identifier, options = {})
|
||||
request(
|
||||
:expects => [202],
|
||||
:method => 'POST',
|
||||
:path => "/1.0/servers/#{identifier}/rebuild",
|
||||
:headers => {"Content-Type" => "application/json"},
|
||||
:body => options.to_json
|
||||
)
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
class Mock
|
||||
|
||||
def rebuild_server(identifier, options = {})
|
||||
Fog::Mock.not_implemented
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Reference in a new issue