Skip to content

Commit b5b224e

Browse files
committed
update name
1 parent 42396ce commit b5b224e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/sentry/integrations/github/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ def get_remaining_api_requests(self) -> int:
431431
# https://docs.github.com/en/rest/git/trees#get-a-tree
432432
def get_tree(self, repo_full_name: str, tree_sha: str) -> list[dict[str, Any]]:
433433
with SCMIntegrationInteractionEvent(
434-
interaction_type=SCMIntegrationInteractionType.GET_TREE,
434+
interaction_type=SCMIntegrationInteractionType.GET_REPO_TREE,
435435
provider_key=self.integration_name,
436436
integration_id=self.integration.id,
437437
).capture():

src/sentry/integrations/source_code_management/metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class SCMIntegrationInteractionType(StrEnum):
5757

5858
# Repo Trees
5959
GET_REPOSITORIES = "get_repositories"
60-
GET_TREE = "get_tree"
60+
GET_REPO_TREE = "get_repo_tree"
6161

6262

6363
@dataclass

0 commit comments

Comments
 (0)