Skip to content
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.

Commit

Permalink
Updated the dataset type_name to use dataset_policy/{dataset_id} form…
Browse files Browse the repository at this point in the history
…at. (#1759)

* Updated the dataset type_name to use dataset_policy/{dataset_id} format.

* Removed extra post action call
  • Loading branch information
joecheuk committed Jul 3, 2018
1 parent cbf25f6 commit b20482a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google/cloud/forseti/services/model/importer/importer.py
Expand Up @@ -803,7 +803,7 @@ def _convert_dataset_policy(self, dataset_policy):
parent, full_res_name = self._get_parent(dataset_policy)
policy_type_name = to_type_name(
dataset_policy.get_category(),
parent.type_name)
dataset_policy.get_resource_id())
policy_res_name = to_full_resource_name(full_res_name, policy_type_name)
resource = self.dao.TBL_RESOURCE(
full_name=policy_res_name,
Expand Down

0 comments on commit b20482a

Please sign in to comment.