Skip to content

Commit

Permalink
fix: disable sysinfo warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jm33-m0 committed Mar 30, 2023
1 parent fff1210 commit e7e07a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/util/sysinfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func GetHostID(fallbackUUID string) (id string) {
}
name = fmt.Sprintf("%s\\%s", name, GetUsername()) // hostname\\username
id = fmt.Sprintf("%s_%s-agent", name, shortID)
productInfo, err := ghw.Product()
productInfo, err := ghw.Product(ghw.WithDisableWarnings())
if err != nil {
log.Printf("GetHostID: %v", err)
return
Expand Down

0 comments on commit e7e07a2

Please sign in to comment.