mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[aws|compute] fix inverted logic for idempotent
This commit is contained in:
parent
cf724053a0
commit
0d2a2b0f96
1 changed files with 2 additions and 2 deletions
|
@ -94,7 +94,7 @@ module Fog
|
|||
options['UserData'] = Base64.encode64(options['UserData'])
|
||||
end
|
||||
|
||||
idempotent = options['ClientToken'].nil? || options['ClientToken'].empty?
|
||||
idempotent = !(options['ClientToken'].nil? || options['ClientToken'].empty?)
|
||||
|
||||
request({
|
||||
'Action' => 'RunInstances',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue