Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit 6539526

Browse files
fixed wrong json object
1 parent eb2cc91 commit 6539526

File tree

1 file changed

+1
-1
lines changed
  • extensions/transfer/transfer-store-cosmos/src/main/java/com/microsoft/dagx/transfer/store/cosmos/model

1 file changed

+1
-1
lines changed

extensions/transfer/transfer-store-cosmos/src/main/java/com/microsoft/dagx/transfer/store/cosmos/model/Lease.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public class Lease {
2222
this(leasedBy, Instant.now().toEpochMilli(), 60);
2323
}
2424

25-
public Lease(@JsonProperty("leasedBy") String leasedBy, @JsonProperty("leasedAt") long leasedAt, @JsonProperty("leaseDurationSeconds") long leaseDurationSeconds) {
25+
public Lease(@JsonProperty("leasedBy") String leasedBy, @JsonProperty("leasedAt") long leasedAt, @JsonProperty("leaseDuration") long leaseDurationSeconds) {
2626
this.leasedBy = leasedBy;
2727
this.leasedAt = leasedAt;
2828
leaseDuration = leaseDurationSeconds;

0 commit comments

Comments
 (0)