Skip to content

Commit 7468758

Browse files
committed
Remove redundant demo-org-ids option, use existing demo-mode.orgs
1 parent a137f44 commit 7468758

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

src/sentry/integrations/utils/commit_context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def find_commit_context_for_event_all_frames(
8383
extra=extra,
8484
)
8585

86-
if organization_id in options.get("demo-org-ids") and file_blames:
86+
if organization_id in options.get("demo-mode.orgs") and file_blames:
8787
selected_blame = max(file_blames, key=lambda blame: blame.commit.committedDate)
8888
has_too_old_blames = False
8989
has_too_recent_blames = False

src/sentry/options/defaults.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3775,12 +3775,6 @@
37753775
flags=FLAG_AUTOMATOR_MODIFIABLE,
37763776
)
37773777

3778-
register(
3779-
"demo-org-ids",
3780-
default=[],
3781-
flags=FLAG_AUTOMATOR_MODIFIABLE,
3782-
)
3783-
37843778
# option for sample size when fetching project tag keys
37853779
register(
37863780
"visibility.tag-key-sample-size",

0 commit comments

Comments
 (0)