Skip to content

Commit

Permalink
Don't print raw pointer data. (#446)
Browse files Browse the repository at this point in the history
  • Loading branch information
wrigri authored Oct 13, 2022
1 parent 92e9149 commit 01d06e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agentendpoint/inventory.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func write(ctx context.Context, state *inventory.InstanceInventory, url string)
case reflect.Ptr:
switch reflect.Indirect(f).Kind() {
case reflect.Struct:
clog.Debugf(ctx, "postAttributeCompressed %s: %+v", u, f)
clog.Debugf(ctx, "postAttributeCompressed %s", u)
if err := attributes.PostAttributeCompressed(u, f.Interface()); err != nil {
clog.Errorf(ctx, "postAttributeCompressed error: %v", err)
}
Expand Down

0 comments on commit 01d06e5

Please sign in to comment.