From 0a08245412caf24b663dfd11779f89099617b9a9 Mon Sep 17 00:00:00 2001 From: Shivam Purohit Date: Mon, 29 Apr 2024 17:17:52 +0530 Subject: [PATCH] remove comments Signed-off-by: Shivam Purohit --- pkg/cmd/describe/probe.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/cmd/describe/probe.go b/pkg/cmd/describe/probe.go index facaa72..63b780f 100644 --- a/pkg/cmd/describe/probe.go +++ b/pkg/cmd/describe/probe.go @@ -101,9 +101,8 @@ var probeCmd = &cobra.Command{ switch probeOutput { case "json": jsonData, _ := yaml.YAMLToJSON([]byte(getProbeYAMLData)) - // utils.PrintInJsonFormat(string(jsonData)) var prettyJSON bytes.Buffer - err = json.Indent(&prettyJSON, jsonData, "", " ") // Adjust the indentation as needed + err = json.Indent(&prettyJSON, jsonData, "", " ") if err != nil { utils.Red.Println("❌ Error formatting JSON: " + err.Error()) os.Exit(1)