From 2bfa316404538973fa07aab1fb3fe7e17bffe598 Mon Sep 17 00:00:00 2001 From: Josh Komoroske Date: Thu, 30 Jun 2022 00:30:24 -0700 Subject: [PATCH] chore: log resolved property values (#15) --- main.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/main.go b/main.go index a87a7c1..c89d752 100644 --- a/main.go +++ b/main.go @@ -46,9 +46,6 @@ func mainCmd() error { return err } - // For now, just log the plugin configuration. - log.Printf("plugin config: %+v", cfg) - // Resolve all property values and build a complete map of property names // to their respective values. properties := make(map[string]string) @@ -64,8 +61,10 @@ func mainCmd() error { properties[property.Name] = value } - // For now, just log the property values. - log.Printf("properties: %+v", properties) + // Log the resolved values for each property. + for key, value := range properties { + log.Printf("property %q resolved to %q", key, value) + } // Read resources from the input stream, transform them, and write them // back to the output stream.