Skip to content

Conversation

@sweatybridge
Copy link
Contributor

@sweatybridge sweatybridge commented Nov 26, 2024

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

If user declares an empty [sms.test_otp] without any entries, auth config would show a diff with remote set to nil.

This causes unnecessary config update being enqueued on api.

What is the new behavior?

Always initialise a non-nil map to avoid this problem.

Additional context

Add any other context or screenshots.

@sweatybridge sweatybridge merged commit ab95a72 into develop Nov 26, 2024
8 checks passed
@sweatybridge sweatybridge deleted the init-map branch November 26, 2024 11:05
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