Browse Source

HUE-8330 [frontend] Fix invalidate flush in K8S mode

Johan Ahlen 7 years ago
parent
commit
b2041f9182
1 changed files with 1 additions and 1 deletions
  1. 1 1
      desktop/core/src/desktop/static/desktop/js/dataCatalog.js

+ 1 - 1
desktop/core/src/desktop/static/desktop/js/dataCatalog.js

@@ -710,7 +710,7 @@ var DataCatalog = (function () {
       var invalidate = options.invalidate || 'cache';
 
       if (invalidate !== 'cache' && self.getSourceType() === 'impala') {
-        if (window.IS_K8_ONLY) {
+        if (window.IS_K8S_ONLY) {
           invalidate = 'invalidateAndFlush';
         }
         if (self.dataCatalog.invalidatePromise) {