Skip to content

Commit 24bb75b

Browse files
committed
fix(test): own captured authorization headers
1 parent dc0fdea commit 24bb75b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dstack/kms/src/main_service/upgrade_authority.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ mod tests {
286286
break position + 4;
287287
}
288288
};
289-
let headers = String::from_utf8_lossy(&request[..header_end]);
289+
let headers = String::from_utf8_lossy(&request[..header_end]).into_owned();
290290
let content_length = headers
291291
.lines()
292292
.find_map(|line| {

0 commit comments

Comments
 (0)