chore(ops/journaldriver): Expand wildcard imports

... to appease Profpatsch.

Change-Id: Id8576645a6920312c2304ea7880524d9cda8e21b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2544
Tested-by: BuildkiteCI
Reviewed-by: Profpatsch <mail@profpatsch.de>
This commit is contained in:
Vincent Ambo 2021-02-23 13:59:43 +02:00 committed by tazjin
parent bef01b1419
commit c9726d8a00
2 changed files with 5 additions and 3 deletions

View file

@ -1,3 +1,5 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
[[package]]
name = "aho-corasick"
version = "0.6.8"

View file

@ -45,7 +45,7 @@ extern crate systemd;
extern crate ureq;
use chrono::offset::LocalResult;
use chrono::prelude::*;
use chrono::prelude::{DateTime, TimeZone, Utc};
use failure::ResultExt;
use serde_json::{from_str, Value};
use std::env;
@ -55,7 +55,7 @@ use std::mem;
use std::path::PathBuf;
use std::process;
use std::time::{Duration, Instant};
use systemd::journal::*;
use systemd::journal::{Journal, JournalFiles, JournalRecord, JournalSeek};
#[cfg(test)]
mod tests;
@ -553,7 +553,7 @@ fn flush(token: &mut Token,
if token.is_expired() {
debug!("Refreshing Google metadata access token");
let new_token = get_token()?;
mem::replace(token, new_token);
*token = new_token;
}
for chunk in entries.chunks(750) {