Skip to content

Commit

Permalink
Fix machine-id error message not user-friendly
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed Sep 28, 2022
1 parent cc320e5 commit 3cd40f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/machine/machine.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 3cd40f0

Please sign in to comment.