Commit 0e532ced authored by Jérome Perrin's avatar Jérome Perrin

runner: fix URL of resilient log

monitor app shows:

![monoring app showing /log url](/uploads/dbb22484f79ed1538a308c640d74c3dc/image.png)

but this URL can not be accessed:

![/log URL unauthorized](/uploads/cf74f2d8bb867123c39264d8f7d9de74/image.png)

The correct URL looks to be this:

![/share/private/log is OK](/uploads/4775d5d3841d8ffa68d67f2cf2b87b22/image.png)

See merge request nexedi/slapos!785
parents c965227f ff3b0621
......@@ -26,7 +26,7 @@ md5sum = f2e2493bc5da90a53f86e5bcf64d2d57
[instance-runner-import]
filename = instance-runner-import.cfg.in
md5sum = a582be15f0fb797fc75cfc39cd1d12ab
md5sum = f5abd8aeb19707dfa12d979a8bc30076
[instance-runner-export]
filename = instance-runner-export.cfg.in
......
......@@ -112,7 +112,7 @@ recipe = collective.recipe.template
input = inline: #!/bin/sh
EXIT_CODE_FILE="${importer:restore-exit-code-file}"
RECENT_EXIT_CODE_FILE=$(find ${directory:srv} -maxdepth 1 -name "${importer:restore-exit-code-file-basename}" -mtime -2)
RESILIENT_LOG_URL=${monitor-publish-parameters:monitor-base-url}/log/${importer:resilient-log-basename}
RESILIENT_LOG_URL=${monitor-publish-parameters:monitor-base-url}/share/private/log/${importer:resilient-log-basename}
if [ ! -f "$EXIT_CODE_FILE" ]; then
exit 0;
else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment