Skip to content

Commit

Permalink
Update doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hnnsgstfssn committed Sep 5, 2024
1 parent bfdfa49 commit 8b8ae5b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/pkg/argocd/argocd.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ func generateArgocdAppDiff(ctx context.Context, keepDiffData bool, app *argoappv
return foundDiffs, diffElements, nil
}

// Should return output that is compatible with github markdown diff highlighting format
// diffLiveVsTargetObject returns the diff of live and target in a format that
// is compatible with Github markdown diff highlighting.
func diffLiveVsTargetObject(live, target *unstructured.Unstructured) (string, error) {
a, err := yaml2.Marshal(live)
if err != nil {
Expand Down

0 comments on commit 8b8ae5b

Please sign in to comment.