Skip to content

Commit

Permalink
fix borrows
Browse files Browse the repository at this point in the history
  • Loading branch information
korewaChino committed Dec 26, 2023
1 parent 21dac30 commit c58775f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/daemon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -690,8 +690,8 @@ async fn reconcile_nodes(obj: Arc<ExitNode>, ctx: Arc<Context>) -> Result<Action

// Okay, now we should also clear the service status if this node has a service binding

if let Some(status) = node.status {
if let Some(binding) = status.service_binding {
if let Some(status) = &node.status {
if let Some(binding) = &status.service_binding {
info!("Clearing service binding for {}", node.name_any());

// get service API
Expand Down

0 comments on commit c58775f

Please sign in to comment.