Fix machine-id error message not user-friendly
Some checks failed
Release / call-build-workflow (push) Has been cancelled
Release / Publish Docker :release (push) Has been cancelled
Release / Github & APT (push) Has been cancelled
Release / Hassio Addon (push) Has been cancelled

This commit is contained in:
andig 2022-09-28 18:48:52 +02:00
parent cc320e510a
commit 3cd40f0861

View file

@ -50,7 +50,7 @@ func ID() (string, error) {
// ProtectedID returns a hashed version of the machine id
// using a fixed, application-specific key.
func ProtectedID(key string) (string, error) {
id, err := machineid.ID()
id, err := ID()
if err != nil {
return id, err
}