Skip to content

Commit

Permalink
Revert "Fix agent group creation for all asset types"
Browse files Browse the repository at this point in the history
This reverts commit 638a9ab.
  • Loading branch information
Zakaria-Latif committed Sep 5, 2024
1 parent d46493b commit 6297dcf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/ostorlab/serve_app/oxo.py
Original file line number Diff line number Diff line change
Expand Up @@ -547,8 +547,6 @@ def mutate(
types.OxoAssetTypeEnum.get(asset_type.upper())
for asset_type in agent_group.asset_types
]
if len(asset_types) == 0:
asset_types = [asset_type.value for asset_type in models.AssetTypeEnum]
group = models.AgentGroup.create(
name=agent_group.name,
description=agent_group.description,
Expand Down

0 comments on commit 6297dcf

Please sign in to comment.