Skip to content

Commit 05a64b2

Browse files
committed
change the exit node check logic
1 parent 9705715 commit 05a64b2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/daemon.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ async fn select_exit_node_cloud(
133133
.as_ref()
134134
.and_then(|annotations| annotations.get(EXIT_NODE_NAME_LABEL));
135135

136-
if let Some(exit_node_name) = exit_node_name {
136+
if exit_node_name.is_none() {
137+
// create new exit node here
137138
todo!()
138139
}
139140
todo!()

0 commit comments

Comments
 (0)