Skip to content

Commit 18fecf0

Browse files
committed
fix
Signed-off-by: aerosouund <aerosound161@gmail.com>
1 parent 05370a1 commit 18fecf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/firecracker/src/api_server/parsed_request.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -939,7 +939,7 @@ pub mod tests {
939939
fn test_try_from_put_vsock() {
940940
let (mut sender, receiver) = UnixStream::pair().unwrap();
941941
let mut connection = HttpConnection::new(receiver);
942-
let body = "{ \"vsock_id\": \"string\", \"guest_cid\": 0, \"uds_path\": \"string\" }";
942+
let body = "{ \"vsock_id\": \"string\", \"guest_cid\": 0, \"uds_path\": \"string\", \"vsock_type\": \"stream\" }";
943943
sender
944944
.write_all(http_request("PUT", "/vsock", Some(body)).as_bytes())
945945
.unwrap();

0 commit comments

Comments
 (0)