Skip to content

Commit 35ddb4e

Browse files
authored
fix: typos, cspell config (Azure#25611)
1 parent b1d4cc1 commit 35ddb4e

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.vscode/cspell.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@
5858
"sdk/confidentialledger/azure-confidentialledger/**",
5959
"sdk/core/azure/**",
6060
"sdk/core/azure-common/**",
61-
"sdk/core/azure-core-tracing-opencensus/**",
6261
"sdk/core/azure-core-tracing-opentelemetry/**",
6362
"sdk/core/azure-core/**",
6463
"sdk/cosmos/azure-cosmos/**",

sdk/core/azure-core-tracing-opencensus/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ exporter = AzureExporter(
3939
tracer = Tracer(exporter=exporter, sampler=AlwaysOnSampler())
4040
with tracer.span(name="MyApplication") as span:
4141
client = BlobServiceClient.from_connection_string('connectionstring')
42-
client.delete_container('mycontainer') # Call will be traced
42+
client.delete_container('my_container') # Call will be traced
4343
```
4444

4545

sdk/core/azure-core-tracing-opencensus/tests/tracing_common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ def __init__(self):
5757
self._all_nodes = []
5858
self.parent_dict = defaultdict(list)
5959

60-
def export(self, span_datas):
60+
def export(self, span_data):
6161
# type: (List[SpanData]) -> None
62-
sp = span_datas[0] # type: SpanData
62+
sp = span_data[0] # type: SpanData
6363
node = Node(sp)
6464
if not node.span_data.parent_span_id:
6565
self.root = node

0 commit comments

Comments
 (0)