We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ca04aa commit 1ae7ab2Copy full SHA for 1ae7ab2
2 files changed
crates/hyperqueue/src/stream/reader/outputlog.rs
@@ -124,7 +124,7 @@ impl OutputLog {
124
}
125
};
126
if let Some(uid) = server_uid {
127
- if uid != header.server_uid.as_str() {
+ if uid != header.server_uid {
128
log::debug!("{} ignored because different server uid", path.display());
129
continue;
130
crates/hyperqueue/src/worker/streamer.rs
@@ -25,7 +25,7 @@ pub const STREAM_FILE_SUFFIX: &str = "hqs";
25
26
#[derive(Serialize, Deserialize, Debug)]
27
pub(crate) struct StreamFileHeader<'a> {
28
- pub server_uid: Cow<'a, String>,
+ pub server_uid: Cow<'a, str>,
29
pub worker_id: WorkerId,
30
31
0 commit comments