Skip to content

Commit

Permalink
Minor fixes after reviewing the diff
Browse files Browse the repository at this point in the history
  • Loading branch information
errose28 committed Nov 5, 2024
1 parent 44a445e commit 12555fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public abstract class ContainerData {
private String chunksPath;

// State of the Container
private volatile ContainerDataProto.State state;
private ContainerDataProto.State state;

private final long maxSize;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,16 +292,15 @@ public static MetadataScanResult getHealthyMetadataScanResult() {
}

/**
<<<<<<< HEAD
* Construct a generic scan error that can be used for testing.
* Construct a generic data scan error that can be used for testing.
*/
public static ContainerScanError getDataScanError() {
return new ContainerScanError(ContainerScanError.FailureType.CORRUPT_CHUNK, new File(""),
new IOException("Fake data corruption failure for testing"));
}

/**
* Construct a generic scan error that can be used for testing.
* Construct a generic metadata scan error that can be used for testing.
*/
public static ContainerScanError getMetadataScanError() {
return new ContainerScanError(ContainerScanError.FailureType.CORRUPT_CONTAINER_FILE, new File(""),
Expand Down

0 comments on commit 12555fa

Please sign in to comment.