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

Enable users to define api versions for the additional property API calls #300

Merged
merged 4 commits into from
Sep 23, 2020

Conversation

omerdemirok
Copy link
Contributor

Signed-off-by: Omer Demirok odemirok@chef.io

Description

Users can provide a specific API version for the additional properties in the supported resources.

Issues Resolved

This will fix the failing CIS benchmark tests caused by incompatible API versions.

Check List

Signed-off-by: Omer Demirok <odemirok@chef.io>
@omerdemirok omerdemirok requested a review from a team as a code owner September 21, 2020 16:26
Signed-off-by: Omer Demirok <odemirok@chef.io>
@@ -690,7 +688,7 @@ def respond_to_missing?(*several_variants)
end

def to_s
"Property is missing! The following properties are available: #{item.keys.map(&:to_s)}"
"#{type}/#{name} has following properties: #{item.keys.map(&:to_s)}."
Copy link
Contributor

Choose a reason for hiding this comment

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

This should probably be: has the following

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated.

Omer Demirok added 2 commits September 22, 2020 17:34
Signed-off-by: Omer Demirok <odemirok@chef.io>
Copy link
Contributor

@rmoles rmoles left a comment

Choose a reason for hiding this comment

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

Thanks @omerdemirok

@rmoles rmoles merged commit 51888f5 into master Sep 23, 2020
@rmoles rmoles deleted the update_additional_resources branch September 23, 2020 12:01
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