Skip to content
Snippets Groups Projects
Commit 4a7eb0d4 authored by Cristiano Urban's avatar Cristiano Urban
Browse files

Replaced 'tapePool' with 'tapeHSMFilesystem' within the request body.

parent 51c5dcb0
No related merge requests found
...@@ -59,7 +59,7 @@ class StorageRPCServer(RedisRPCServer): ...@@ -59,7 +59,7 @@ class StorageRPCServer(RedisRPCServer):
storageType = requestBody["storageType"] storageType = requestBody["storageType"]
storageBasePath = requestBody["basePath"] storageBasePath = requestBody["basePath"]
storageHostname = requestBody["hostname"] storageHostname = requestBody["hostname"]
tapePool = requestBody["tapePool"] tapeHSMFilesystem = requestBody["tapeHSMFilesystem"]
if not os.path.exists(storageBasePath): if not os.path.exists(storageBasePath):
errorMsg = "Base path doesn't exist." errorMsg = "Base path doesn't exist."
self.logger.error(errorMsg) self.logger.error(errorMsg)
...@@ -72,7 +72,7 @@ class StorageRPCServer(RedisRPCServer): ...@@ -72,7 +72,7 @@ class StorageRPCServer(RedisRPCServer):
storageBasePath, storageBasePath,
storageHostname, storageHostname,
self.vospaceUserBasePath, self.vospaceUserBasePath,
tapePool) tapeHSMFilesystem)
except Exception: except Exception:
errorMsg = "Database error." errorMsg = "Database error."
self.logger.exception(errorMsg) self.logger.exception(errorMsg)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment