Skip to content

Commit 612ec3b

Browse files
committed
RSCBC-147: Fix get_terse_cluster_config
The streaming API is being used in a non-streaming context, so it just hangs.
1 parent b8778bd commit 612ec3b

File tree

1 file changed

+2
-1
lines changed
  • sdk/couchbase-core/src/mgmtx

1 file changed

+2
-1
lines changed

sdk/couchbase-core/src/mgmtx/mgmt.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ use crate::mgmtx::error;
66
use crate::mgmtx::options::{GetTerseBucketConfigOptions, GetTerseClusterConfigOptions};
77
use bytes::Bytes;
88
use http::Method;
9+
use log::debug;
910
use serde::de::DeserializeOwned;
1011
use serde::Deserialize;
1112
use std::collections::HashMap;
@@ -196,7 +197,7 @@ impl<C: Client> Management<C> {
196197
opts: &GetTerseClusterConfigOptions<'_>,
197198
) -> error::Result<TerseConfig> {
198199
let method = Method::GET;
199-
let path = "/pools/default/nodeServicesStreaming".to_string();
200+
let path = "/pools/default/nodeServices".to_string();
200201

201202
let resp = self
202203
.execute(

0 commit comments

Comments
 (0)