Commit c3ec720
committed
Serve leech2 patches from cf-testd via the enterprise hook
cf-testd now handles GETPATCH through the enterprise ServeLeech2Patch()
function, the same code path as cf-serverd, instead of replying with a
hardcoded empty patch. In a pure core build the stub refuses; with the
enterprise plugin loaded a real patch is served from the state
directory.
Ticket: ENT-14105
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>1 parent ab22fbb commit c3ec720
1 file changed
Lines changed: 5 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
| |||
417 | 416 | | |
418 | 417 | | |
419 | 418 | | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
429 | 424 | | |
430 | 425 | | |
431 | 426 | | |
| |||
0 commit comments