diff --git a/huaweicloud/data_source_huaweicloud_gaussdb_mysql_instances.go b/huaweicloud/data_source_huaweicloud_gaussdb_mysql_instances.go index 91714ea6dc..d30b44e4db 100644 --- a/huaweicloud/data_source_huaweicloud_gaussdb_mysql_instances.go +++ b/huaweicloud/data_source_huaweicloud_gaussdb_mysql_instances.go @@ -206,11 +206,6 @@ func dataSourceGaussDBMysqlInstancesRead(d *schema.ResourceData, meta interface{ return fmt.Errorf("Unable to retrieve instances: %s", err) } - if allInstances.TotalCount < 1 { - return fmt.Errorf("Your query returned no results. " + - "Please change your search criteria and try again.") - } - var instancesToSet []map[string]interface{} var instancesIds []string