Skip to content

fixed tencentcloud tag - #181

Open
likexian wants to merge 1 commit into
hashicorp:masterfrom
likexian:master
Open

fixed tencentcloud tag#181
likexian wants to merge 1 commit into
hashicorp:masterfrom
likexian:master

Conversation

@likexian

Copy link
Copy Markdown
Contributor

This PR only fix the tag of tencentcloud.
I have test it and passed.

go test -v
=== RUN   TestAddrs
2021/08/23 12:48:12 [DEBUG] discover-tencentcloud: Using region=ap-guangzhou, tag_key=consul, tag_value=test
2021/08/23 12:48:12 [DEBUG] discover-tencentcloud: Static credentials provided
2021/08/23 12:48:12 [DEBUG] discover-tencentcloud: region is ap-guangzhou
2021/08/23 12:48:12 [DEBUG] discover-tencentcloud: address type is private_v4
2021/08/23 12:48:12 [DEBUG] discover-tencentcloud: Filter instances with consul=test
2021/08/23 12:48:17 [DEBUG] discover-tencentcloud: Found 2 instances
2021/08/23 12:48:17 [DEBUG] discover-tencentcloud: Instance ins-xxxfu has private_v4 10.1.2.1
2021/08/23 12:48:17 [DEBUG] discover-tencentcloud: Instance ins-xxxbu has private_v4 10.1.2.2
2021/08/23 12:48:17 [DEBUG] discover-tencentcloud: Found address: [10.1.2.1 10.1.2.2]
--- PASS: TestAddrs (5.12s)
PASS
ok      github.com/hashicorp/go-discover/provider/tencentcloud  5.136s

@hashicorp-cla

hashicorp-cla commented Mar 12, 2022

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants