Skip to content

Commit 608c68a

Browse files
authored
Merge pull request #923 from ipfs-force-community/fix/0x5459/fix-field-name
fix(worker): fix field name
2 parents 5ec3ceb + ff40a15 commit 608c68a

File tree

2 files changed

+2
-2
lines changed
  • damocles-manager/core
  • damocles-worker/vc-processors/src/builtin/processors/transfer

2 files changed

+2
-2
lines changed

damocles-manager/core/types.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ type SectorUnsealInfo struct {
382382
}
383383

384384
type SectorStateResp struct {
385-
ID abi.SectorID
385+
ID abi.SectorID `json:"Id"`
386386
Finalized SectorFinalized
387387
AbortReason *string
388388
}

damocles-worker/vc-processors/src/builtin/processors/transfer/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pub fn do_transfer_inner(route: &TransferRoute, disable_link: bool) -> Result<()
2121
}
2222

2323
if !route.src.uri.exists() {
24-
return Err(anyhow!("src path not exists"));
24+
return Err(anyhow!("src path not exists: {}", route.src.uri.display()));
2525
}
2626

2727
let src_is_dir = route.src.uri.is_dir();

0 commit comments

Comments
 (0)