Skip to content

Commit

Permalink
Fix newline removals
Browse files Browse the repository at this point in the history
  • Loading branch information
ikerreyes committed Nov 11, 2024
1 parent fd77e2e commit 8325640
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/dvo_recommendations_storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ func (storage DVORecommendationsDBStorage) ReadWorkloadsForClusterAndNamespace(
}

processedReport := dvoReport.Report
processedReport = strings.ReplaceAll(processedReport, "\n", "")
processedReport = strings.ReplaceAll(processedReport, "\\n", "")
processedReport = strings.ReplaceAll(processedReport, "\\", "")
processedReport = processedReport[1 : len(processedReport)-1]

Expand Down

0 comments on commit 8325640

Please sign in to comment.