Skip to content

Commit 2cf3dec

Browse files
Zhigang Wangpvkrishnachaitanya
authored andcommitted
Bug fix - fix infinite loop for OSMH resource discovery
1 parent 53c0214 commit 2cf3dec

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

internal/service/os_management_hub/os_management_hub_export.go

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
)
88

99
func init() {
10-
//tf_export.RegisterCompartmentGraphs("os_management_hub", osManagementHubResourceGraph)
10+
tf_export.RegisterCompartmentGraphs("os_management_hub", osManagementHubResourceGraph)
1111
}
1212

1313
// Hints for discovering and exporting this resource to configuration and state files
@@ -286,15 +286,4 @@ var osManagementHubResourceGraph = tf_export.TerraformResourceGraph{
286286
{TerraformResourceHints: exportOsManagementHubSoftwareSourceHints},
287287
{TerraformResourceHints: exportOsManagementHubEventHints},
288288
},
289-
/*
290-
Below code is causing infinite loop in resource discovery
291-
"oci_os_management_hub_software_source": {
292-
{
293-
TerraformResourceHints: exportOsManagementHubSoftwareSourceHints,
294-
DatasourceQueryParams: map[string]string{
295-
"software_source_id": "id",
296-
},
297-
},
298-
},
299-
*/
300289
}

0 commit comments

Comments
 (0)