File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed
src/amazon/opentelemetry/distro/patches
tests/amazon/opentelemetry/distro Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change 4
4
import os
5
5
from logging import Logger , getLogger
6
6
7
- # pylint: disable=unused-import
8
- # flake8: noqa: F401
9
- import pkg_resources
10
-
11
7
from amazon .opentelemetry .distro ._utils import is_installed
12
8
from amazon .opentelemetry .distro .patches ._resource_detector_patches import _apply_resource_detector_patches
13
9
Original file line number Diff line number Diff line change 38
38
_LAMBDA_SOURCE_MAPPING_ID : str = "lambdaEventSourceMappingID"
39
39
40
40
# Patch names
41
- GET_DISTRIBUTION_PATCH : str = (
42
- "amazon.opentelemetry.distro.patches._instrumentation_patch.pkg_resources.get_distribution"
43
- )
41
+ GET_DISTRIBUTION_PATCH : str = "amazon.opentelemetry.distro._utils.pkg_resources.get_distribution"
44
42
45
43
46
44
class TestInstrumentationPatch (TestCase ):
You can’t perform that action at this time.
0 commit comments