Repository: cloudstack Updated Branches: refs/heads/master 027409d9b -> 7a5e88ccb
CLOUDSTACK-9489: the new config vars that are added do not goto DB if values are set to NULL, removing this check so the entries in DB are made with NULL values Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/a39cc61f Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/a39cc61f Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/a39cc61f Branch: refs/heads/master Commit: a39cc61fc61a52b5d57e963a9a6a2d6f0e951c28 Parents: a661a11 Author: Abhinandan Prateek <[email protected]> Authored: Fri Sep 23 10:58:11 2016 +0530 Committer: Abhinandan Prateek <[email protected]> Committed: Fri Sep 23 10:58:11 2016 +0530 ---------------------------------------------------------------------- .../cloudstack/framework/config/dao/ConfigurationDaoImpl.java | 1 - 1 file changed, 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/a39cc61f/framework/config/src/org/apache/cloudstack/framework/config/dao/ConfigurationDaoImpl.java ---------------------------------------------------------------------- diff --git a/framework/config/src/org/apache/cloudstack/framework/config/dao/ConfigurationDaoImpl.java b/framework/config/src/org/apache/cloudstack/framework/config/dao/ConfigurationDaoImpl.java index fc44c8b..4e7b127 100644 --- a/framework/config/src/org/apache/cloudstack/framework/config/dao/ConfigurationDaoImpl.java +++ b/framework/config/src/org/apache/cloudstack/framework/config/dao/ConfigurationDaoImpl.java @@ -90,7 +90,6 @@ public class ConfigurationDaoImpl extends GenericDaoBase<ConfigurationVO, String configurations = listIncludingRemovedBy(sc); for (ConfigurationVO config : configurations) { - if (config.getValue() != null) _configs.put(config.getName(), config.getValue()); } }
