Alon Bar-Lev has uploaded a new change for review.

Change subject: utils: LocalConfig: support expansion of system properties
......................................................................

utils: LocalConfig: support expansion of system properties

Change-Id: I070c5450a31eac694e17f757a63a0aee0b39c234
Signed-off-by: Alon Bar-Lev <[email protected]>
---
M 
backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/LocalConfig.java
1 file changed, 6 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/81/16581/1

diff --git 
a/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/LocalConfig.java
 
b/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/LocalConfig.java
index 221eb4f..47f5724 100644
--- 
a/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/LocalConfig.java
+++ 
b/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/LocalConfig.java
@@ -213,6 +213,12 @@
                         if (v != null) {
                             ret.append(v);
                         }
+                        else {
+                            v = System.getProperty(name);
+                            if (v != null) {
+                                ret.append(v);
+                            }
+                        }
                     break;
                     case '"':
                         inQuotes = !inQuotes;


-- 
To view, visit http://gerrit.ovirt.org/16581
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I070c5450a31eac694e17f757a63a0aee0b39c234
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to