Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong environment variable in storage watcher (BugFix) #1420

Merged
merged 1 commit into from
Aug 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions checkbox-support/checkbox_support/scripts/run_watcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,9 @@ def run(self):
p = select.poll()
p.register(j, j.get_events())
if self.zapper_usb_address:
zapper_host = os.environ.get("ZAPPER_ADDRESS")
zapper_host = os.environ.get("ZAPPER_HOST")
if not zapper_host:
raise SystemExit(
"ZAPPER_ADDRESS environment variable not found!"
)
raise SystemExit("ZAPPER_HOST environment variable not found!")
usb_address = self.zapper_usb_address
if self.testcase == "insertion":
print("Calling zapper to connect the USB device")
Expand Down
Loading