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

🧹 new logic to customise inventory config clone #1880

Merged
merged 1 commit into from
Sep 24, 2023

Conversation

chris-rock
Copy link
Member

We use a similar logic in multiple providers to clone a config but remove the discovery options. This is useful since we most likely do not want the discovery options when we clone. This change makes the the config.Clone() more smart by providing more options that can be provided. It makes the code of the providers more readable.

Copy link
Member

@arlimus arlimus left a comment

Choose a reason for hiding this comment

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

this is going to help across discovery

@arlimus arlimus merged commit df88d9b into main Sep 24, 2023
10 checks passed
@arlimus arlimus deleted the chris-rock/inventory-config-clone branch September 24, 2023 19:01
@github-actions github-actions bot locked and limited conversation to collaborators Sep 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants