From 01d06e505026f34d8765dc4e1c2837d2f86417a3 Mon Sep 17 00:00:00 2001 From: Rick Wright Date: Thu, 13 Oct 2022 14:34:03 -0700 Subject: [PATCH] Don't print raw pointer data. (#446) --- agentendpoint/inventory.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agentendpoint/inventory.go b/agentendpoint/inventory.go index 1b6905ecc..9239fbca7 100644 --- a/agentendpoint/inventory.go +++ b/agentendpoint/inventory.go @@ -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) }