fix(core): update
This commit is contained in:
parent
3577fa22e1
commit
ff9302f745
@ -111,7 +111,7 @@ export class Qenv {
|
||||
const availableSecrets = plugins.smartfile.fs.listAllItemsSync('/run/secrets');
|
||||
for (const secret of availableSecrets) {
|
||||
if (secret.includes('secret.json') && !dockerSecret) {
|
||||
const secretObject = plugins.smartfile.fs.toObjectSync('/run/secrets/secret.json');
|
||||
const secretObject = plugins.smartfile.fs.toObjectSync(`/run/secrets/${secret}`);
|
||||
dockerSecret = secretObject[requiredEnvVar];
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user