Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export abstract class PersistentStorageFactory {
public abstract getDockerMountObject(
bucketId: string,
fileName: string,
consumerAddress?: string
consumerAddress: string
): Promise<DockerMountObject>

public abstract getDockerOutputMountObject(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export class PersistentStorageLocalFS extends PersistentStorageFactory {
async getDockerMountObject(
bucketId: string,
fileName: string,
consumerAddress?: string
consumerAddress: string
): Promise<DockerMountObject> {
await this.ensureBucketExists(bucketId)
if (!consumerAddress) {
Expand Down
2 changes: 1 addition & 1 deletion src/components/persistentStorage/PersistentStorageS3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export class PersistentStorageS3 extends PersistentStorageFactory {
async getDockerMountObject(
_bucketId: string,
_fileName: string,
_consumerAddress?: string
_consumerAddress: string
): Promise<DockerMountObject> {
throw new Error('PersistentStorageS3 is not implemented yet')
}
Expand Down
2 changes: 1 addition & 1 deletion src/test/integration/persistentStorage.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ describe('********** Persistent storage handlers (integration)', functio
ownerAddress
)

const mount = await backend.getDockerMountObject(bucketId, fileName)
const mount = await backend.getDockerMountObject(bucketId, fileName, ownerAddress)
expect(path.isAbsolute(mount.Source)).to.equal(true)
} finally {
await fsp.rm(path.resolve(relativeFolder), { recursive: true, force: true })
Expand Down
Loading