Skip to content

Commit

Permalink
Revert "fix incompatibity issue hashicorp#183"
Browse files Browse the repository at this point in the history
This reverts commit 986207c.
  • Loading branch information
peczenyj committed Sep 27, 2021
1 parent 986207c commit d1eeb0d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions provider/aliyun/aliyun_discover.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,8 @@ 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: []ecs.TagType{
{
Key: tagKey,
Value: tagValue,
},
Tag: map[string]string{
tagKey: tagValue,
}},
)

Expand Down

0 comments on commit d1eeb0d

Please sign in to comment.