Skip to content

Commit

Permalink
rebase and fix conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
maorleger committed Aug 25, 2021
1 parent 0d2ec9b commit 4932703
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion sdk/communication/communication-chat/src/chatClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {
} from "@azure/communication-signaling";
import { getSignalingClient } from "./signaling/signalingClient";
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { SpanStatusCode } from "@azure/core-http";
import { SpanStatusCode } from "@azure/core-client";
import { createSpan } from "./tracing";
import { ChatThreadClient } from "./chatThreadClient";
import {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
serializeCommunicationIdentifier
} from "@azure/communication-common";
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { SpanStatusCode } from "@azure/core-http";
import { SpanStatusCode } from "@azure/core-client";
import { createSpan } from "./tracing";
import {
SendReadReceiptRequest,
Expand Down
2 changes: 1 addition & 1 deletion sdk/communication/communication-chat/src/tracing.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.

import { createSpanFunction } from "@azure/core-http";
import { createSpanFunction } from "@azure/core-client";

/**
* Creates a span using the global tracer.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { AbortController } from "@azure/abort-controller";
import { setTracer } from "@azure/test-utils";
import { Pipeline } from "@azure/storage-blob";
import { SDK_VERSION } from "../src/utils/constants";
import { setSpan, context } from "@azure/core-http";
import { setSpan, tracingContext } from "@azure/test-utils";

import * as dotenv from "dotenv";
dotenv.config();
Expand Down Expand Up @@ -163,7 +163,7 @@ describe("BlobChangeFeedClient", async () => {

const pageIter = changeFeedClient.listChanges({
tracingOptions: {
tracingContext: setSpan(context.active(), rootSpan)
tracingContext: setSpan(tracingContext.active(), rootSpan)
}
});
await pageIter.next();
Expand Down

0 comments on commit 4932703

Please sign in to comment.