You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// If we have a specific git repo configured for write-back
687
-
ifgitRepo!="" {
688
-
// Try to find the source matching the write-back git repository
689
-
for_, s:=rangeapp.Spec.Sources {
690
-
ifs.RepoURL==gitRepo {
691
-
logCtx.Debugf("Found matching source for git repository %s", gitRepo)
692
-
return&s
693
-
}
694
-
}
695
-
logCtx.Debugf("No matching source found for git repository %s", gitRepo)
696
-
}
697
-
698
-
// If no git repo match, check for Helm/Kustomize sources
699
682
for_, s:=rangeapp.Spec.Sources {
700
683
ifs.Helm!=nil||s.Kustomize!=nil {
701
684
return&s
702
685
}
703
686
}
704
687
705
-
logCtx.Tracef("Could not get Source of type Helm or Kustomize from multisource configuration. Returning first source from the list")
688
+
log.WithContext().AddField("application", app.GetName()).Tracef("Could not get Source of type Helm or Kustomize from multisource configuration. Returning first source from the list")
0 commit comments