mirror of https://github.com/zulip/zulip.git
zilencer: Fix mismigrated plan type assertion.
This commit is contained in:
parent
d040664952
commit
b8deb44a05
|
@ -768,7 +768,7 @@ def handle_customer_migration_from_server_to_realms(
|
|||
and server_plan.tier == CustomerPlan.TIER_SELF_HOSTED_LEGACY
|
||||
and server_plan.status == CustomerPlan.ACTIVE
|
||||
):
|
||||
assert server.plan_type == RemoteZulipServer.PLAN_TYPE_SELF_MANAGED
|
||||
assert server.plan_type == RemoteZulipServer.PLAN_TYPE_SELF_MANAGED_LEGACY
|
||||
assert server_plan.end_date is not None
|
||||
remote_realms = RemoteRealm.objects.filter(
|
||||
uuid__in=realm_uuids, server=server, plan_type=RemoteRealm.PLAN_TYPE_SELF_MANAGED
|
||||
|
|
Loading…
Reference in New Issue