Skip to content

Commit c21be48

Browse files
committed
Send requests to the right address
1 parent 5297950 commit c21be48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sled-agent/src/services.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1884,9 +1884,9 @@ impl ServiceManager {
18841884
Some(zone.name()),
18851885
&zone.control_interface(),
18861886
)?
1887-
.network();
1887+
.ip();
18881888
let host = &format!("[{address}]:{COCKROACH_PORT}");
1889-
info!(log, "Initializing CRDB Cluster");
1889+
info!(log, "Initializing CRDB Cluster - sending request to {host}");
18901890
zone.run_cmd(&[
18911891
"/opt/oxide/cockroachdb/bin/cockroach",
18921892
"init",

0 commit comments

Comments
 (0)