Skip to content

Commit

Permalink
Update for new API (VertaAI#962)
Browse files Browse the repository at this point in the history
  • Loading branch information
nhatsmrt authored Jul 12, 2020
1 parent 576852c commit 2b82fff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ class Commit(
Await.result(clientSet.client.requestRaw("PUT", url, null, Map("Content-Length" -> readLen.toString), filepart), Duration.Inf)
.flatMap(resp => clientSet.versioningService.commitVersionedBlobArtifactPart(
VersioningCommitVersionedBlobArtifactPart(
artifact_part = Some(ModeldbArtifactPart(
artifact_part = Some(CommonArtifactPart(
etag = Some(resp.headers("ETag").get),
part_number = Some(BigInt(partNum))
)),
Expand Down

0 comments on commit 2b82fff

Please sign in to comment.