Quellcode durchsuchen

AMBARI-976. Hook HDFS/MapReduce/HBase/Host graphs to backend API. (Srimanth Gunturi via yusaku)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/branches/AMBARI-666@1418910 13f79535-47bb-0310-9956-ffa450edef68
Yusaku Sako vor 12 Jahren
Ursprung
Commit
7a1bcf778c
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      ambari-web/app/utils/helper.js

+ 1 - 1
ambari-web/app/utils/helper.js

@@ -112,7 +112,7 @@ Number.prototype.countPercentageRatio = function (maxValue) {
 App.formatUrl = function (urlTemplate, substitutes, testUrl) {
   var formatted = urlTemplate;
   if (urlTemplate) {
-    if (!App.testMode) {
+    if (App.testMode) {
       var toSeconds = Math.round(new Date().getTime() / 1000);
       var allSubstitutes = {
         toSeconds: toSeconds,