Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ECS] Refactoring tags workflow #919

Merged
merged 5 commits into from
Mar 19, 2021
Merged

[ECS] Refactoring tags workflow #919

merged 5 commits into from
Mar 19, 2021

Conversation

lego963
Copy link
Contributor

@lego963 lego963 commented Mar 19, 2021

Summary of the Pull Request

Unify usage of tags in resource/opentelekomcloud_ecs_instance_v1

Add validation func in tagsSchema()

PR Checklist

Acceptance Steps Performed

=== RUN   TestAccEcsV1Instance_basic
--- PASS: TestAccEcsV1Instance_basic (179.27s)
=== RUN   TestAccEcsV1Instance_diskTypeValidation
--- PASS: TestAccEcsV1Instance_diskTypeValidation (10.91s)
=== RUN   TestAccEcsV1Instance_VPCValidation
--- PASS: TestAccEcsV1Instance_VPCValidation (175.35s)
PASS

Process finished with exit code 0

@lego963 lego963 requested review from a team, outcatcher and anton-sidelnikov and removed request for a team March 19, 2021 10:07
otc-zuul[bot]
otc-zuul bot previously approved these changes Mar 19, 2021
Optional: true,
Type: schema.TypeMap,
Optional: true,
ValidateFunc: ValidateECSTagValue,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is common TagSchema, it shouldn't use ValidateECSTagValue

Copy link
Contributor Author

@lego963 lego963 Mar 19, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reverted it

otc-zuul[bot]
otc-zuul bot previously approved these changes Mar 19, 2021
Update pattern

Add checks for len()
@lego963 lego963 added the gate Merge PR label Mar 19, 2021
@lego963 lego963 mentioned this pull request Mar 19, 2021
3 tasks
@otc-zuul
Copy link

otc-zuul bot commented Mar 19, 2021

Build succeeded.

@otc-zuul otc-zuul bot merged commit 44fa909 into devel Mar 19, 2021
@otc-zuul otc-zuul bot deleted the ecsv1-unify-tags branch March 19, 2021 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants