Skip to content

Commit

Permalink
Fixes as file backend API changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Sung committed Aug 7, 2020
1 parent 1178929 commit aea7eeb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/gyro/azure/CloudBlobContainerFileBackend.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
import com.psddev.dari.util.StringUtils;
import gyro.azure.storage.StorageAccountResource;
import gyro.core.FileBackend;
import gyro.core.FileBackendAccess;
import gyro.core.GyroCore;
import gyro.core.GyroException;
import gyro.core.Type;
Expand Down Expand Up @@ -115,7 +116,7 @@ public InputStream openInput(String file) throws Exception {
}

@Override
public OutputStream openOutput(String file) throws Exception {
public OutputStream openOutput(String file, FileBackendAccess acl) throws Exception {
return getBlockBlobReference(file).openOutputStream();
}

Expand All @@ -130,7 +131,7 @@ public boolean exists(String file) throws Exception {
}

@Override
public void copy(String source, String destination) throws Exception {
public void copy(String source, String destination, FileBackendAccess acl) throws Exception {
CloudBlockBlob target = getBlockBlobReference(destination);
target.startCopy(getBlockBlobReference(source));

Expand Down

0 comments on commit aea7eeb

Please sign in to comment.