Skip to content

Commit

Permalink
Capitalize related functions
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Holmberg <[email protected]>
  • Loading branch information
Esaych committed Jul 15, 2022
1 parent 57821b5 commit a6ca571
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/src/main/java/marquez/db/models/DatasetData.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public Optional<String> getDescription() {
return Optional.ofNullable(description);
}

public Optional<String> getLastlifecycleState() {
public Optional<String> getLastLifecycleState() {
return Optional.ofNullable(lastLifecycleState);
}

Expand Down
2 changes: 1 addition & 1 deletion api/src/test/java/marquez/db/LineageDaoTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ public void testGetDatasetDatalifecycleStateReturned() {
Collections.singleton(row.getOutputs().get().get(0).getDatasetRow().getUuid()));

assertThat(datasetData)
.extracting(ds -> ds.getLastlifecycleState().orElse(""))
.extracting(ds -> ds.getLastLifecycleState().orElse(""))
.anyMatch(str -> str.contains("CREATE"));
}

Expand Down

0 comments on commit a6ca571

Please sign in to comment.