Merge pull request #3537 from Rummskartoffel/auconcreatecontainer

Fix `'auconcreatecontainer'` not being respected when false
This commit is contained in:
Oliver Blanthorn 2021-03-31 20:41:34 +01:00 committed by GitHub
commit bfc40aa41e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -284,7 +284,7 @@ export class AutoContain implements IAutoContain {
} else {
const containerExists = await Container.exists(aucons[aukeyarr[0]])
if (!containerExists) {
if (Config.get("auconcreatecontainer")) {
if (Config.get("auconcreatecontainer") === "true") {
await Container.create(aucons[aukeyarr[0]])
} else {
logger.error(