We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 438711e + fc8a689 commit fa02724Copy full SHA for fa02724
providers/tencent/cvm/instances.go
@@ -43,7 +43,7 @@ func Instances(ctx context.Context, client providers.ProviderClient) ([]models.R
43
}
44
45
for _, instance := range instances.Response.InstanceSet {
46
- tags := make([]models.Tag, len(instance.Tags))
+ tags := make([]models.Tag, 0, len(instance.Tags))
47
for _, tag := range instance.Tags {
48
tags = append(tags, models.Tag{
49
Key: *tag.Key,
0 commit comments