diff --git a/huaweicloud/data_source_huaweicloud_images_image_v2.go b/huaweicloud/data_source_huaweicloud_images_image_v2.go index 35a5c4b415..19438d8bf3 100644 --- a/huaweicloud/data_source_huaweicloud_images_image_v2.go +++ b/huaweicloud/data_source_huaweicloud_images_image_v2.go @@ -214,7 +214,7 @@ func dataSourceImagesImageV2Attributes(d *schema.ResourceData, image *images.Ima d.Set("checksum", image.Checksum) d.Set("size_bytes", image.SizeBytes) if err := d.Set("metadata", image.Metadata); err != nil { - return fmt.Errorf("[DEBUG] Error saving metadata to state for OpenTelekomCloud image (%s): %s", d.Id(), err) + return fmt.Errorf("[DEBUG] Error saving metadata to state for HuaweiCloud image (%s): %s", d.Id(), err) } d.Set("created_at", image.CreatedAt) d.Set("updated_at", image.UpdatedAt) diff --git a/huaweicloud/data_source_huaweicloud_rts_stack_v1.go b/huaweicloud/data_source_huaweicloud_rts_stack_v1.go index 0e540f6414..f2375383ac 100644 --- a/huaweicloud/data_source_huaweicloud_rts_stack_v1.go +++ b/huaweicloud/data_source_huaweicloud_rts_stack_v1.go @@ -75,7 +75,7 @@ func dataSourceRTSStackV1Read(d *schema.ResourceData, meta interface{}) error { config := meta.(*Config) orchestrationClient, err := config.orchestrationV1Client(GetRegion(d, config)) if err != nil { - return fmt.Errorf("Error creating OpenTelekomCloud rts client: %s", err) + return fmt.Errorf("Error creating HuaweiCloud rts client: %s", err) } stackName := d.Get("name").(string) diff --git a/huaweicloud/resource_huaweicloud_images_image_v2.go b/huaweicloud/resource_huaweicloud_images_image_v2.go index 1285f050cf..36bb3dfb0d 100644 --- a/huaweicloud/resource_huaweicloud_images_image_v2.go +++ b/huaweicloud/resource_huaweicloud_images_image_v2.go @@ -267,7 +267,7 @@ func resourceImagesImageV2Read(d *schema.ResourceData, meta interface{}) error { d.Set("checksum", img.Checksum) d.Set("size_bytes", img.SizeBytes) if err := d.Set("metadata", img.Metadata); err != nil { - return fmt.Errorf("[DEBUG] Error saving metadata to state for OpenTelekomCloud image (%s): %s", d.Id(), err) + return fmt.Errorf("[DEBUG] Error saving metadata to state for HuaweiCloud image (%s): %s", d.Id(), err) } d.Set("created_at", img.CreatedAt) d.Set("update_at", img.UpdatedAt) @@ -280,7 +280,7 @@ func resourceImagesImageV2Read(d *schema.ResourceData, meta interface{}) error { d.Set("protected", img.Protected) d.Set("size_bytes", img.SizeBytes) if err := d.Set("tags", img.Tags); err != nil { - return fmt.Errorf("[DEBUG] Error saving tags to state for OpenTelekomCloud image (%s): %s", d.Id(), err) + return fmt.Errorf("[DEBUG] Error saving tags to state for HuaweiCloud image (%s): %s", d.Id(), err) } d.Set("visibility", img.Visibility) d.Set("region", GetRegion(d, config)) diff --git a/huaweicloud/resource_huaweicloud_maas_task_v1_test.go b/huaweicloud/resource_huaweicloud_maas_task_v1_test.go index 0d9fa9c067..eb889ea456 100644 --- a/huaweicloud/resource_huaweicloud_maas_task_v1_test.go +++ b/huaweicloud/resource_huaweicloud_maas_task_v1_test.go @@ -32,7 +32,7 @@ func testAccCheckMaasTaskV1Destroy(s *terraform.State) error { config := testAccProvider.Meta().(*Config) maasClient, err := config.maasV1Client(OS_REGION_NAME) if err != nil { - return fmt.Errorf("Error creating OpenTelekomCloud maas client: %s", err) + return fmt.Errorf("Error creating HuaweiCloud maas client: %s", err) } for _, rs := range s.RootModule().Resources { @@ -63,7 +63,7 @@ func testAccCheckMaasTaskV1Exists(n string) resource.TestCheckFunc { config := testAccProvider.Meta().(*Config) maasClient, err := config.maasV1Client(OS_REGION_NAME) if err != nil { - return fmt.Errorf("Error creating OpenTelekomCloud maas client: %s", err) + return fmt.Errorf("Error creating HuaweiCloud maas client: %s", err) } found, err := task.Get(maasClient, rs.Primary.ID).Extract()