Fix machine-id error message not user-friendly
This commit is contained in:
parent
cc320e510a
commit
3cd40f0861
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue