This commit is contained in:
parent
4ea1af8d72
commit
325d7891be
@ -97,8 +97,8 @@ impl NetworkManager for OpenShiftNmStateNetworkManager {
|
|||||||
|
|
||||||
debug!(
|
debug!(
|
||||||
"Applying NMState bond config for host {}:\n{}",
|
"Applying NMState bond config for host {}:\n{}",
|
||||||
|
config.host_id,
|
||||||
serde_yaml::to_string(&bond_config).unwrap(),
|
serde_yaml::to_string(&bond_config).unwrap(),
|
||||||
config.host_id
|
|
||||||
);
|
);
|
||||||
self.k8s_client
|
self.k8s_client
|
||||||
.apply(&bond_config, None)
|
.apply(&bond_config, None)
|
||||||
|
|||||||
@ -118,7 +118,7 @@ impl HostNetworkConfigurationInterpret {
|
|||||||
port,
|
port,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
Ok(None) => debug!("No port found for '{mac_address}', skipping"),
|
Ok(None) => {}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
return Err(InterpretError::new(format!(
|
return Err(InterpretError::new(format!(
|
||||||
"Failed to get port for host '{}': {}",
|
"Failed to get port for host '{}': {}",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user