From 15cd98cf5c4c0f59928a98c2b4ec437d73fb5cb5 Mon Sep 17 00:00:00 2001 From: khalifapro <81648906+khalifapro@users.noreply.github.com> Date: Wed, 15 Feb 2023 14:24:05 +0200 Subject: [PATCH] enhance orphand detection (#79) Signed-off-by: Ayman Co-authored-by: Ayman --- cmd/git/git.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/git/git.go b/cmd/git/git.go index 6e4b89c..f429be9 100644 --- a/cmd/git/git.go +++ b/cmd/git/git.go @@ -2966,7 +2966,7 @@ func (j *DSGit) handleDataLakeOrphans() { } for _, v := range cachedCommits { - if v.Orphaned && v.FromDL { + if v.Orphaned { commitB, err := b64.StdEncoding.DecodeString(v.Content) if err != nil { j.log.WithFields(logrus.Fields{"operation": "handleDataLakeOrphans"}).Errorf("error decode datalake orphand commit: %+v", err)