fix(core): update

This commit is contained in:
Philipp Kunz 2021-12-20 19:36:54 +01:00
parent 070eb559b9
commit 545f5d35f5

View File

@ -52,6 +52,12 @@ export class Smarts3 {
}
}
public async createBucket(bucketNameArg: string) {
const smartbucketInstance = new plugins.smartbucket.SmartBucket(await this.getS3Descriptor());
const bucket = await smartbucketInstance.createBucket(bucketNameArg);
return bucket;
}
public async stop() {
await this.s3Instance.close();
}