mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Record and Zone put requests are idempotent.
This commit is contained in:
parent
29b789dc9a
commit
17dbaa35f9
2 changed files with 10 additions and 8 deletions
|
@ -21,6 +21,7 @@ module Fog
|
|||
request(
|
||||
:body => Fog::JSON.encode(options),
|
||||
:expects => 200,
|
||||
:idempotent => true,
|
||||
:method => :put,
|
||||
:path => path
|
||||
)
|
||||
|
|
|
@ -16,6 +16,7 @@ module Fog
|
|||
request(
|
||||
:body => Fog::JSON.encode(options),
|
||||
:expects => 200,
|
||||
:idempotent => true,
|
||||
:method => :put,
|
||||
:path => 'Zone/' << zone
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue