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

Fixed typo.

parent ab318bbd
No related branches found
No related tags found
No related merge requests found
Pipeline #24572 passed
...@@ -78,7 +78,7 @@ class TapeClient(object): ...@@ -78,7 +78,7 @@ class TapeClient(object):
def getHSMFilesystemList(self): def getHSMFilesystemList(self):
"""Returns a list containing all the available HSM filesystems.""" """Returns a list containing all the available HSM filesystems."""
cmd = f"{self.DSMDF} -detail | grep \"HSM Filesystem\" | awk '{ print $3 }'" cmd = f"{self.DSMDF} -detail | grep \"HSM Filesystem\" | awk '{{ print $3 }}'"
try: try:
stdin, stdout, stderr = self.client.exec_command(cmd) stdin, stdout, stderr = self.client.exec_command(cmd)
except Exception: except Exception:
...@@ -95,7 +95,7 @@ class TapeClient(object): ...@@ -95,7 +95,7 @@ class TapeClient(object):
def getHSMFilesystemFreeSpace(self, HSMFilesystem): def getHSMFilesystemFreeSpace(self, HSMFilesystem):
"Returns the free space in bytes for a given HSM filesystem." "Returns the free space in bytes for a given HSM filesystem."
cmd = f"{self.DSMDF} -detail {HSMFilesystem} | grep "Free Size" | awk '{ print $3 }'" cmd = f"{self.DSMDF} -detail {HSMFilesystem} | grep \"Free Size\" | awk '{{ print $3 }}'"
try: try:
stdin, stdout, stderr = self.client.exec_command(cmd) stdin, stdout, stderr = self.client.exec_command(cmd)
except Exception: except Exception:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment