Skip to content

Commit 6e11ab8

Browse files
herbert.zurita@oracle.comMaxrovr
authored andcommitted
Exempted - fixed breaking change on opsi host insights data source
1 parent 7e7af83 commit 6e11ab8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/service/opsi/opsi_host_insights_data_source.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,10 @@ func (s *OpsiHostInsightsDataSourceCrud) Get() error {
110110

111111
if hostType, ok := s.D.GetOkExists("host_type"); ok {
112112
interfaces := hostType.([]interface{})
113-
tmp := make([]string, len(interfaces))
113+
tmp := make([]oci_opsi.ListHostInsightsPlatformTypeEnum, len(interfaces))
114114
for i := range interfaces {
115115
if interfaces[i] != nil {
116-
tmp[i] = interfaces[i].(string)
116+
tmp[i] = interfaces[i].(oci_opsi.ListHostInsightsPlatformTypeEnum)
117117
}
118118
}
119119
if len(tmp) != 0 || s.D.HasChange("host_type") {

0 commit comments

Comments
 (0)