Skip to content

Commit

Permalink
Tweak examples/inventory
Browse files Browse the repository at this point in the history
Avoid logrus.TraceLevel because flashrom is printing data to stdout
which messes up the json.

Remove inventory.json because it was generated from a test run and
should never have been committed.
  • Loading branch information
mmlb committed Jun 5, 2024
1 parent 41022f4 commit 6490d27
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 866 deletions.
1 change: 0 additions & 1 deletion examples/inventory/inventory.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import (
func main() {
logger := logrus.New()
logger.Formatter = new(logrus.JSONFormatter)
logger.SetLevel(logrus.TraceLevel)
device, err := ironlib.New(logger)
if err != nil {
logger.Fatal(err)
Expand Down
Loading

0 comments on commit 6490d27

Please sign in to comment.