Commit 76d0bd41
76d0bd41f456Merged
Dmitriy Zhilyaev <[email protected]> ยท 3 years ago ยท 1 file ยท ~1 modified
Description
fix: priority for repo build #763
Signed-off-by: Dmitriy Zhilyaev [email protected]
Details
- Commit
- 76d0bd41f456
- Parent
- 63e3154134f2
pkg/plan/build_repos.gomodifiedView file
@@ -23,11 +23,11 @@
2323
l := log.WithField("repository", rep)2424
l.WithField("releases", rm).Debug("๐ found releases that depend on repository")2525
26-
if repoIsLocal(rep) {27-
l.Info("๐ it is local repo")28-
} else if index, found := repo.IndexOfName(in, rep); found {26+
if index, found := repo.IndexOfName(in, rep); found {2927
out = append(out, in[index])3028
l.Info("๐ repo has been added to the plan")29+
} else if repoIsLocal(rep) {30+
l.Info("๐ it is local repo")3131
} else {3232
l.WithField("releases", rm).Warn("๐ some releases depend on repository that is not defined")3333