fix: Change the default gRPC port to match storectl
8082 appears to be the default here:
b304e751e1/cmd/storectl/query/query.go (L56)
pull/24376/head
parent
3484a872eb
commit
0314bc6ba2
|
@ -315,7 +315,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
|
|||
Ok(addr) => addr
|
||||
.parse()
|
||||
.expect("DELOREAN_GRPC_BIND_ADDR environment variable not a valid SocketAddr"),
|
||||
Err(VarError::NotPresent) => "127.0.0.1:8081".parse().unwrap(),
|
||||
Err(VarError::NotPresent) => "127.0.0.1:8082".parse().unwrap(),
|
||||
Err(VarError::NotUnicode(_)) => {
|
||||
panic!("DELOREAN_GRPC_BIND_ADDR environment variable not a valid unicode string")
|
||||
}
|
||||
|
|
|
@ -27,7 +27,7 @@ use std::u32;
|
|||
use tempfile::TempDir;
|
||||
|
||||
const URL_BASE: &str = "http://localhost:8080/api/v2";
|
||||
const GRPC_URL_BASE: &str = "http://localhost:8081/";
|
||||
const GRPC_URL_BASE: &str = "http://localhost:8082/";
|
||||
|
||||
mod grpc {
|
||||
tonic::include_proto!("delorean");
|
||||
|
|
Loading…
Reference in New Issue