Skip to content

Commit

Permalink
Merge branch 'main' into priyanshi/fix-conn-pool-pass
Browse files Browse the repository at this point in the history
  • Loading branch information
priyanshi-yb committed Jan 20, 2025
2 parents f91cd7a + db06a1d commit 6aa224f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion yb-voyager/cmd/assessMigrationCommand.go
Original file line number Diff line number Diff line change
Expand Up @@ -1607,7 +1607,7 @@ func generateAssessmentReportJson(reportDir string) error {
if err != nil {
return fmt.Errorf("unable to build migration complexity explanation for json report: %w", err)
}
log.Info(assessmentReport.MigrationComplexityExplanation)
log.Infof("migration complexity explanation: %q", assessmentReport.MigrationComplexityExplanation)

strReport, err := json.MarshalIndent(assessmentReport, "", "\t")
if err != nil {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@
{{ end }}
{{end}}

{{if ne .MigrationComplexity "NOT AVAILABLE"}}
{{if and (ne .MigrationComplexity "NOT AVAILABLE") (ne (len .MigrationComplexityExplanation) 0)}}
<h2>Migration Complexity Explanation</h2>
<p>{{ .MigrationComplexityExplanation }}</p>
{{end}}
Expand Down

0 comments on commit 6aa224f

Please sign in to comment.