mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 16:28:12 -07:00
Log.
This commit is contained in:
parent
867f9d797c
commit
843f88565f
1 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ public class RepoFinder @Inject constructor(val executors: KobaltExecutors) {
|
||||||
for (i in 0..Kobalt.repos.size - 1) {
|
for (i in 0..Kobalt.repos.size - 1) {
|
||||||
try {
|
try {
|
||||||
val result = cs.take().get(2000, TimeUnit.MILLISECONDS)
|
val result = cs.take().get(2000, TimeUnit.MILLISECONDS)
|
||||||
log(2, "Result for repo #$i: $result")
|
log(2, " Result for repo #$i: $result")
|
||||||
if (result.found) {
|
if (result.found) {
|
||||||
log(2, "Located $id in ${result.hostConfig.url}")
|
log(2, "Located $id in ${result.hostConfig.url}")
|
||||||
return result
|
return result
|
||||||
|
@ -70,7 +70,7 @@ public class RepoFinder @Inject constructor(val executors: KobaltExecutors) {
|
||||||
inner class RepoFinderCallable(val id: String, val repo: HostConfig) : Callable<RepoResult> {
|
inner class RepoFinderCallable(val id: String, val repo: HostConfig) : Callable<RepoResult> {
|
||||||
override fun call(): RepoResult {
|
override fun call(): RepoResult {
|
||||||
val repoUrl = repo.url
|
val repoUrl = repo.url
|
||||||
log(2, "Checking $repoUrl for $id")
|
log(2, " Checking $repoUrl for $id")
|
||||||
|
|
||||||
val mavenId = MavenId(id)
|
val mavenId = MavenId(id)
|
||||||
val groupId = mavenId.groupId
|
val groupId = mavenId.groupId
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue