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

feat: add failover groups #1302

Merged
merged 3 commits into from
Oct 27, 2022
Merged

feat: add failover groups #1302

merged 3 commits into from
Oct 27, 2022

Conversation

sfc-gh-swinkler
Copy link
Collaborator

adds a new resource to manage failover groups

Test Plan

  • acceptance tests

References

pkg/resources/failover_group.go Outdated Show resolved Hide resolved
currentObjectTypeList := d.Get("object_types").(*schema.Set).List()
if len(currentObjectTypeList) != len(objectTypes) {
log.Printf("[DEBUG] object types are different, current: %v, new: %v", currentObjectTypeList, objectTypes)
d.Set("object_types", objectTypes)

Choose a reason for hiding this comment

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

🚫 [golangci] reported by reviewdog 🐶
Error return value of d.Set is not checked (errcheck)

pkg/resources/failover_group.go Outdated Show resolved Hide resolved
pkg/resources/failover_group.go Show resolved Hide resolved
@github-actions
Copy link

Integration tests failure for f6e6054c8b766196a2d975edbfe12806a30c3dce

@github-actions
Copy link

Integration tests success for 20577f852ef3afe353ac2e9fc61da654d9af3c3c

@github-actions
Copy link

Integration tests success for de413202696a6769f24209215bc44b251cae67e4

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.

1 participant