Эх сурвалжийг харах

HUE-5178 [core] Fix assist S3 refresh cache

Enrico Berti 9 жил өмнө
parent
commit
76b602b

+ 4 - 0
desktop/core/src/desktop/static/desktop/js/apiHelper.js

@@ -55,6 +55,10 @@ var ApiHelper = (function () {
     huePubSub.subscribe('assist.clear.hdfs.cache', function () {
       $.totalStorage("hue.assist." + self.getTotalStorageUserPrefix('hdfs'), {});
     });
+
+    huePubSub.subscribe('assist.clear.s3.cache', function () {
+      $.totalStorage("hue.assist." + self.getTotalStorageUserPrefix('s3'), {});
+    });
   }
 
   ApiHelper.prototype.hasExpired = function (timestamp) {