formatting
This commit is contained in:
parent
bdfbd7057f
commit
4adf5547c9
|
@ -21,7 +21,6 @@ pub const LOCK_FILE_PATH: &str = "/var/lib/peachcloud/config.lock";
|
|||
pub const DEFAULT_DYN_SERVER_ADDRESS: &str = "http://dynserver.dyn.peachcloud.org";
|
||||
pub const DEFAULT_DYN_NAMESERVER: &str = "ns.peachcloud.org";
|
||||
|
||||
|
||||
// we make use of Serde default values in order to make PeachCloud
|
||||
// robust and keep running even with a not fully complete config.yml
|
||||
// main type which represents all peachcloud configurations
|
||||
|
@ -140,7 +139,6 @@ pub fn get_dyndns_server_address() -> Result<String, PeachError> {
|
|||
else {
|
||||
Ok(DEFAULT_DYN_SERVER_ADDRESS.to_string())
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
pub fn set_dyndns_enabled_value(enabled_value: bool) -> Result<PeachConfig, PeachError> {
|
||||
|
|
Loading…
Reference in New Issue