fix(core): update
This commit is contained in:
parent
070eb559b9
commit
545f5d35f5
@ -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() {
|
public async stop() {
|
||||||
await this.s3Instance.close();
|
await this.s3Instance.close();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user