parent
930fd67ae3
commit
f6d45c8387
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
use diesel::prelude::*;
|
use diesel::prelude::*;
|
||||||
use log::{error, info};
|
use log::{debug, error};
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
use std::thread;
|
use std::thread;
|
||||||
use std::time;
|
use std::time;
|
||||||
|
@ -39,7 +39,7 @@ impl Manager {
|
||||||
fn update_my_ip(&self) -> Result<(), Error> {
|
fn update_my_ip(&self) -> Result<(), Error> {
|
||||||
let config = self.config()?;
|
let config = self.config()?;
|
||||||
if config.host.is_empty() || config.username.is_empty() {
|
if config.host.is_empty() || config.username.is_empty() {
|
||||||
info!("Skipping DDNS update because credentials are missing");
|
debug!("Skipping DDNS update because credentials are missing");
|
||||||
return Ok(());
|
return Ok(());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue