Commit dcc376c
authored
Avoid running resolve logic with no transport version name (elastic#135379) (elastic#135480)
When resolving transport version conflicts we must lookup the definition
that is being added by the current branch. We do this by detecting the
resource file that has been added. When no files are added, we should
not do anything. This commit moves the logic that detects branches
closer to where it is needed so that we don't possibly run it with an
empty transport version name.1 parent 01d8f2b commit dcc376c
File tree
3 files changed
+13
-4
lines changed- build-tools-internal/src
- integTest/groovy/org/elasticsearch/gradle/internal/transport
- main/java/org/elasticsearch/gradle/internal/transport
3 files changed
+13
-4
lines changedLines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
90 | 99 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
431 | | - | |
| 431 | + | |
432 | 432 | | |
433 | 433 | | |
434 | 434 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | 101 | | |
105 | 102 | | |
106 | 103 | | |
107 | 104 | | |
108 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
0 commit comments