You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by nc...@apache.org on 2013/06/12 21:24:07 UTC

svn commit: r1492387 - /incubator/ambari/trunk/ambari-server/src/main/java/org/apache/ambari/server/state/DesiredConfig.java

Author: ncole
Date: Wed Jun 12 19:24:07 2013
New Revision: 1492387

URL: http://svn.apache.org/r1492387
Log:
AMBARI-2368. Fix to remove user from host_component/actual_configs. (ncole)

Modified:
    incubator/ambari/trunk/ambari-server/src/main/java/org/apache/ambari/server/state/DesiredConfig.java

Modified: incubator/ambari/trunk/ambari-server/src/main/java/org/apache/ambari/server/state/DesiredConfig.java
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-server/src/main/java/org/apache/ambari/server/state/DesiredConfig.java?rev=1492387&r1=1492386&r2=1492387&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-server/src/main/java/org/apache/ambari/server/state/DesiredConfig.java (original)
+++ incubator/ambari/trunk/ambari-server/src/main/java/org/apache/ambari/server/state/DesiredConfig.java Wed Jun 12 19:24:07 2013
@@ -81,6 +81,7 @@ public class DesiredConfig {
   /**
    * Gets the user that set the desired config.
    */
+  @JsonSerialize(include = Inclusion.NON_EMPTY)
   public String getUser() {
     return user;
   }