The dataSourceAliCloudCdnServiceRead function in alicloud/data_source_alicloud_cdn_service.go may silently modify the internet_charge_type under specific conditions, potentially causing major issues.
Shouldn't modify the internet_charge_type be an explicit modification?
Why is ModifyCdnService being called in dataSourceAliCloudCdnServiceRead? This is a read method, not a modify method
The
dataSourceAliCloudCdnServiceReadfunction inalicloud/data_source_alicloud_cdn_service.gomay silently modify theinternet_charge_typeunder specific conditions, potentially causing major issues.Shouldn't modify the internet_charge_type be an explicit modification?
Why is ModifyCdnService being called in dataSourceAliCloudCdnServiceRead? This is a read method, not a modify method