Docker Secrets: Correct Source Path

Signed-off-by: Jonas Thelemann <e-mail@jonas-thelemann.de>
This commit is contained in:
Jonas Thelemann 2019-09-02 18:43:18 +02:00
parent 6755d1b989
commit 326b38dff9
No known key found for this signature in database
GPG key ID: 55253A8FC546418B

View file

@ -3,7 +3,7 @@
const fs = require('fs') const fs = require('fs')
const path = require('path') const path = require('path')
const basePath = path.resolve('/var/run/secrets/') const basePath = path.resolve('/run/secrets/')
function getSecret (secret) { function getSecret (secret) {
const filePath = path.join(basePath, secret) const filePath = path.join(basePath, secret)