Skip to content

Commit

Permalink
Merge pull request #5851 from FarooqAbdulla02/interfaces
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Richter <jarichte@redhat.com>
  • Loading branch information
richtja authored Jan 10, 2024
2 parents 18bebb9 + 6e3c574 commit f499e72
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions avocado/utils/network/interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -836,9 +836,9 @@ def get_device_IPI_name(self):
f"cat /sys/class/net/{self.name}/device/devspec | "
f"awk -F/ '{{print $3}}'"
)
interface_type = process.run(cmd, shell=True, ignore_status=True).decode(
"utf-8"
)
interface_type = process.system_output(
cmd, shell=True, ignore_status=True
).decode("utf-8")
cmd = f"echo {interface_type} | sed 's/@/-/' "
interface_type = process.system_output(
cmd, shell=True, ignore_status=True
Expand Down

0 comments on commit f499e72

Please sign in to comment.