Преглед на файлове

HUE-8925 [aws] Skip fs home creation on login in S3 only configuration

In order to avoid:

'S3FileSystem' object has no attribute 'create_home_dir'
Romain преди 6 години
родител
ревизия
cda614fc52
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      desktop/libs/aws/src/aws/s3/s3fs.py

+ 2 - 0
desktop/libs/aws/src/aws/s3/s3fs.py

@@ -353,6 +353,8 @@ class S3FileSystem(object):
   def filebrowser_action(self):
     return self._filebrowser_action
 
+  def create_home_dir(self, path):
+    LOG.info('Create home directory is not available for S3 filesystem')
 
   @translate_s3_error
   @auth_error_handler