Răsfoiți Sursa

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 ani în urmă
părinte
comite
cda614fc52
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  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