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

🧹 Try to update os provider to latest #150

Merged
merged 3 commits into from
Nov 14, 2023
Merged

🧹 Try to update os provider to latest #150

merged 3 commits into from
Nov 14, 2023

Conversation

czunker
Copy link
Contributor

@czunker czunker commented Nov 3, 2023

Fixes #149

@czunker czunker requested a review from chris-rock November 3, 2023 13:36
Fixes #149

Signed-off-by: Christian Zunker <[email protected]>
}
outdated := false
for _, provider := range allProviders {
if provider.Name == "os" {
Copy link
Member

Choose a reason for hiding this comment

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

is it just the os provider that we are interested in? is it possible that other providers are also used by the packer plugin? We do have types in OS that are defined in network, for example... Shouldn't this be just the same function as the one updating the providers in cnspec?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The network provider is a good catch. Didn't think about this one. Yes, then we can use the same code as for the cnspec PR.

Signed-off-by: Christian Zunker <[email protected]>
Signed-off-by: Christian Zunker <[email protected]>
@czunker czunker merged commit 3f5b3b8 into main Nov 14, 2023
6 checks passed
@czunker czunker deleted the christian/fix_149 branch November 14, 2023 15:16
@github-actions github-actions bot locked and limited conversation to collaborators Nov 14, 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.

plugin cannot gather the full report
2 participants