From af41f69da0bdcebcdc1cb74f0eb4f99da849ef38 Mon Sep 17 00:00:00 2001 From: Chris Henry Date: Sun, 15 Feb 2015 18:51:34 -0500 Subject: [PATCH] fix: put db name in quotes, if present. --- moto/rds2/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moto/rds2/models.py b/moto/rds2/models.py index 21155834b..5cb05ebeb 100644 --- a/moto/rds2/models.py +++ b/moto/rds2/models.py @@ -165,7 +165,7 @@ class Database(object): "DBInstanceClass": "{{ database.db_instance_class }}", "DBInstanceIdentifier": "{{ database.db_instance_identifier }}", "DBInstanceStatus": "{{ database.status }}", - "DBName": {%- if database.db_name -%}{{ database.db_name }}{%- else %} null{%- endif -%}, + "DBName": {%- if database.db_name -%}"{{ database.db_name }}"{%- else %} null{%- endif -%}, {% if database.db_parameter_group_name -%}"DBParameterGroups": { "DBParameterGroup": { "ParameterApplyStatus": "in-sync",