Skip to content

Commit

Permalink
chore: Remove unused code related to Crowdstrike feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorwalton committed Jun 10, 2024
1 parent 3e78128 commit ee3f1c4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions backend/app/integrations/crowdstrike/routes/provision.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
from app.integrations.routes import get_customer_integrations_by_customer_code
from app.integrations.schema import CustomerIntegrations
from app.integrations.schema import CustomerIntegrationsResponse
from app.middleware.license import is_feature_enabled

integration_crowdstrike_router = APIRouter()

Expand Down Expand Up @@ -99,7 +98,6 @@ async def provision_crowdstrike_route(
Returns:
ProvisionCrowdstrikeResponse: The response object containing the result of the provisioning.
"""
await is_feature_enabled(feature_name="CROWDSTRIKE", session=session)
customer_integration_response = await get_customer_integration_response(
provision_crowdstrike_request.customer_code,
session,
Expand All @@ -114,7 +112,6 @@ async def provision_crowdstrike_route(
crowdstrike_auth_keys = extract_crowdstrike_auth_keys(customer_integration)

auth_keys = ProvisionCrowdstrikeAuthKeys(**crowdstrike_auth_keys)
# logger.info(f"Provisioning Crowdstrike for customer {provision_crowdstrike_request.customer_code} with auth keys: {auth_keys.dict()}")

return await provision_crowdstrike(
customer_details=CrowdstrikeCustomerDetails(
Expand Down

0 comments on commit ee3f1c4

Please sign in to comment.