We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e7af83 commit 6e11ab8Copy full SHA for 6e11ab8
internal/service/opsi/opsi_host_insights_data_source.go
@@ -110,10 +110,10 @@ func (s *OpsiHostInsightsDataSourceCrud) Get() error {
110
111
if hostType, ok := s.D.GetOkExists("host_type"); ok {
112
interfaces := hostType.([]interface{})
113
- tmp := make([]string, len(interfaces))
+ tmp := make([]oci_opsi.ListHostInsightsPlatformTypeEnum, len(interfaces))
114
for i := range interfaces {
115
if interfaces[i] != nil {
116
- tmp[i] = interfaces[i].(string)
+ tmp[i] = interfaces[i].(oci_opsi.ListHostInsightsPlatformTypeEnum)
117
}
118
119
if len(tmp) != 0 || s.D.HasChange("host_type") {
0 commit comments