feat: send UPGRADE_COMPANION_REF in automated upgrade call
This commit is contained in:
parent
db2ad81a1f
commit
d10f2a1966
@ -90,7 +90,10 @@ module.exports = {
|
|||||||
if (process.env.UPGRADE_COMPANION) {
|
if (process.env.UPGRADE_COMPANION) {
|
||||||
await request({
|
await request({
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
uri: 'http://wiki-update-companion/upgrade'
|
uri: 'http://wiki-update-companion/upgrade',
|
||||||
|
qs: {
|
||||||
|
...process.env.UPGRADE_COMPANION_REF && { container: process.env.UPGRADE_COMPANION_REF }
|
||||||
|
}
|
||||||
})
|
})
|
||||||
return {
|
return {
|
||||||
responseResult: graphHelper.generateSuccess('Upgrade has started.')
|
responseResult: graphHelper.generateSuccess('Upgrade has started.')
|
||||||
|
Loading…
Reference in New Issue
Block a user