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

Add remove property functions #856

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lovrogalesic-toast
Copy link

Fixes #855

Motivation

This PR adds the ability to unset some namespace properties instead of always setting them to the value of 0.
The goal is to unset the properties when they are removed from the terraform declarations when using terraform-provider-pulsar

Modifications

  • added remove property functions
  • updated get functions for the same properties to handle the new values (-1 for unset, 0 is zero...)
  • some status message updates (wording)

Verifying this change

  • Make sure that the change passes the CI checks.

Tests to add:

  • Property removal tests

Documentation

Check the box below.

Need to update docs?

  • doc-required

These changes should be documented and explained as they might be breaking for some users.

Co-authored-by: Zixuan Liu <nodeces@gmail.com>
@nodece
Copy link
Contributor

nodece commented Nov 2, 2022

@lovrogalesic-toast Could you check the failed CI?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-required This pr needs a document
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add functions to unset namespace properties
2 participants