Fixed erronous log statement

This commit is contained in:
Edward Shen 2021-05-11 16:56:28 -04:00
parent 6da2cba78a
commit 739137c4be
Signed by: edward
GPG key ID: 19182661E818369F

View file

@ -155,8 +155,9 @@ pub async fn update_server_state(secret: &str, cli: &CliArgs, data: &mut Arc<RwL
let mut write_guard = data.0.write(); let mut write_guard = data.0.write();
if !write_guard.url_overridden && write_guard.image_server != resp.image_server { if !write_guard.url_overridden && write_guard.image_server != resp.image_server {
warn!("Ignoring new upstream url!");
write_guard.image_server = resp.image_server; write_guard.image_server = resp.image_server;
} else {
warn!("Ignoring new upstream url!");
} }
if let Some(key) = resp.token_key { if let Some(key) = resp.token_key {