浏览代码

Refactor S3 import to use renamed function is_enabled (#4253)

Harsh Gupta 2 月之前
父节点
当前提交
881eacad80
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      apps/hive/src/hive/conf.py

+ 1 - 1
apps/hive/src/hive/conf.py

@@ -74,7 +74,7 @@ def config_validator(user):
     from desktop.lib.fsmanager import get_filesystem
 
     if USE_STORAGE_CONNECTORS.get():
-      from desktop.lib.fs.s3.conf_utils import is_s3_enabled
+      from desktop.lib.fs.s3.conf_utils import is_enabled as is_s3_enabled
     else:
       from aws.conf import is_s3_enabled