Fixed erronous log statement
This commit is contained in:
parent
6da2cba78a
commit
739137c4be
1 changed files with 2 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue