Skip to content

Commit

Permalink
chore: fix error message for JournalingBlobWriteSessionConfig (#2752)
Browse files Browse the repository at this point in the history
Now properly reports grpc only rather than incorrect http only.
  • Loading branch information
BenWhitehead authored Oct 10, 2024
1 parent 4c540bc commit 6829eb4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ public WritableByteChannelSession<?, BlobInfo> writeSession(

return new JournalingUpload<>(session, start);
} else {
return CrossTransportUtils.throwHttpJsonOnly(BlobWriteSessionConfigs.class, "journaling");
return CrossTransportUtils.throwGrpcOnly(BlobWriteSessionConfigs.class, "journaling");
}
}

Expand Down

0 comments on commit 6829eb4

Please sign in to comment.