Skip to content

Commit 595692f

Browse files
authored
rename CosmosPipeline to CosmosConnection
1 parent 1165fc5 commit 595692f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

sdk/cosmos/azure_data_cosmos/src/pipeline/mod.rs renamed to sdk/cosmos/azure_data_cosmos/src/connection/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,18 @@ use crate::{
2626

2727
/// Newtype that wraps an Azure Core pipeline to provide a Cosmos-specific pipeline which configures our authorization policy and enforces that a [`ResourceType`] is set on the context.
2828
#[derive(Debug, Clone)]
29-
pub struct CosmosPipeline {
29+
pub struct CosmosConnection {
3030
pub endpoint: Url,
3131
pipeline: azure_core::http::Pipeline,
3232
}
3333

34-
impl CosmosPipeline {
34+
impl CosmosConnection {
3535
pub fn new(
3636
endpoint: Url,
3737
auth_policy: AuthorizationPolicy,
3838
client_options: ClientOptions,
3939
) -> Self {
40-
CosmosPipeline {
40+
CosmosConnection {
4141
endpoint,
4242
pipeline: azure_core::http::Pipeline::new(
4343
option_env!("CARGO_PKG_NAME"),

0 commit comments

Comments
 (0)