瀏覽代碼

AMBARI-2368. Fix to remove user from host_component/actual_configs. (ncole)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1492387 13f79535-47bb-0310-9956-ffa450edef68
Nate Cole 12 年之前
父節點
當前提交
860c1716b9
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      ambari-server/src/main/java/org/apache/ambari/server/state/DesiredConfig.java

+ 1 - 0
ambari-server/src/main/java/org/apache/ambari/server/state/DesiredConfig.java

@@ -81,6 +81,7 @@ public class DesiredConfig {
   /**
   /**
    * Gets the user that set the desired config.
    * Gets the user that set the desired config.
    */
    */
+  @JsonSerialize(include = Inclusion.NON_EMPTY)
   public String getUser() {
   public String getUser() {
     return user;
     return user;
   }
   }