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
Carol (Nichols || Goulding) 2020-03-05 11:54:31 -05:00
parent 3484a872eb
commit 0314bc6ba2
2 changed files with 2 additions and 2 deletions

View File

@ -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")
}

View File

@ -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");