config adj fix
parent
da3d8cd129
commit
6e86dcbf09
|
|
@ -319,7 +319,7 @@ fn restart_main_thread() -> std::io::Result<()> {
|
|||
/// *depends on* : `Processes`
|
||||
///
|
||||
pub async fn subscribe_config_stream(actual_prcs: Arc<Processes>, params: Arc<PrebootParams>) -> Result<(), CustomError> {
|
||||
if !(params.no_sub && params.no_remote_config) {
|
||||
if params.no_sub || params.no_remote_config {
|
||||
return Err(CustomError::Fatal);
|
||||
}
|
||||
if let Ok(client) = Client::open(format!("redis://{}/", &actual_prcs.config_server)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue