Skip to content

Commit 5e522e2

Browse files
committed
Add comments mentioned in an issue open-telemetry#1919
1 parent 61f2c85 commit 5e522e2

File tree

1 file changed

+1
-1
lines changed
  • instrumentation/opentelemetry-instrumentation-asyncio

1 file changed

+1
-1
lines changed

instrumentation/opentelemetry-instrumentation-asyncio/README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Example
3434
import asyncio
3535
3636
async def main():
37-
await asyncio.sleep(0.1)
37+
await asyncio.create_task(asyncio.sleep(0.1))
3838
3939
asyncio.run(main())
4040

0 commit comments

Comments
 (0)