Skip to content

Commit

Permalink
fix incompatibity issue hashicorp#183
Browse files Browse the repository at this point in the history
  • Loading branch information
peczenyj committed Sep 27, 2021
1 parent bc42ce5 commit 986207c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions provider/aliyun/aliyun_discover.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,11 @@ func (p *Provider) Addrs(args map[string]string, l *log.Logger) ([]string, error
resp, err := svc.DescribeInstancesWithRaw(&ecs.DescribeInstancesArgs{
RegionId: common.Region(region),
Status: ecs.Running,
Tag: map[string]string{
tagKey: tagValue,
Tag: []ecs.TagType{
{
Key: tagKey,
Value: tagValue,
},
}},
)

Expand Down

0 comments on commit 986207c

Please sign in to comment.