1
0
Fork 0
mirror of https://github.com/fog/fog-aws.git synced 2022-11-09 13:50:52 -05:00

always return a default engine parameters result

This commit is contained in:
Eugene Howe 2016-01-31 13:22:29 -05:00
parent 52f3226fab
commit 879dc9dc3e
2 changed files with 11 additions and 13 deletions

View file

@ -102,18 +102,16 @@ module Fog
:subnet_groups => {},
:snapshots => {},
:event_subscriptions => {},
:default_parameters => {
"mysql5.5" => [
{
"DataType" => "integer",
"Source" => "engine-default",
"Description" => "Intended for use with master-to-master replication, and can be used to control the operation of AUTO_INCREMENT columns",
"ApplyType" => "dynamic",
"AllowedValues" => "1-65535",
"ParameterName" => "auto_increment_increment"
}
],
},
:default_parameters => [
{
"DataType" => "integer",
"Source" => "engine-default",
"Description" => "Intended for use with master-to-master replication, and can be used to control the operation of AUTO_INCREMENT columns",
"ApplyType" => "dynamic",
"AllowedValues" => "1-65535",
"ParameterName" => "auto_increment_increment"
}
],
:db_engine_versions => [
{
'Engine' => "mysql",

View file

@ -20,7 +20,7 @@ module Fog
response.status = 200
response.body = {
"ResponseMetadata" => { "RequestId" => Fog::AWS::Mock.request_id },
"DescribeEngineDefaultParametersResult" => { "Parameters" => self.data[:default_parameters][family]}
"DescribeEngineDefaultParametersResult" => { "Parameters" => self.data[:default_parameters]}
}
response
end