Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: xxchan <xxchan22f@gmail.com>
  • Loading branch information
xxchan committed Apr 12, 2024
1 parent df9f905 commit a575c3a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/risedevtool/src/risedev_env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,13 @@ pub fn generate_risedev_env(services: &Vec<ServiceConfig>) -> String {
}
ServiceConfig::Frontend(c) => {
let listen_address = &c.listen_address;
writeln!(env, "RISEDEV_FRONTEND_LISTEN_ADDRESS=\"{listen_address}\"",).unwrap();
writeln!(
env,
"RISEDEV_RW_FRONTEND_LISTEN_ADDRESS=\"{listen_address}\"",
)
.unwrap();
let port = &c.port;
writeln!(env, "RISEDEV_FRONTEND_PORT=\"{port}\"",).unwrap();
writeln!(env, "RISEDEV_RW_FRONTEND_PORT=\"{port}\"",).unwrap();
}
ServiceConfig::Kafka(c) => {
let brokers = format!("{}:{}", c.address, c.port);
Expand Down

0 comments on commit a575c3a

Please sign in to comment.