-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
shell: Fix cockpit.Machines.Update() error handling
Stringify the error object, so that we don't just get an empty value in our test logs. This call requires superuser privileges to write into /etc/cockpit/, so declare that and avoid making console noise if the session is unprivileged. That way, we only see unexpected failures.
- Loading branch information
1 parent
4937113
commit 52ac7fa
Showing
2 changed files
with
6 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters