Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
Signed-off-by: Shivam Purohit <[email protected]>
  • Loading branch information
shivam-Purohit committed Apr 29, 2024
1 parent 9dd3f42 commit 0a08245
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/cmd/describe/probe.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0a08245

Please sign in to comment.