Skip to content

Commit

Permalink
remove redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-luna-valero committed Oct 14, 2024
1 parent 148f055 commit ee6d297
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions fedcloud_vm_monitoring/site_monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,10 +250,7 @@ def _run_shell_command(self, command):
capture_output=True,
text=True,
)
returncode = completed.returncode
stdout = completed.stdout
stderr = completed.stderr
return returncode, stdout, stderr
return completed.returncode, completed.stdout, completed.stderr

def check_open_port(self, ip, port, protocol):
if protocol == "tcp":
Expand Down

0 comments on commit ee6d297

Please sign in to comment.