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

build: 👷 add foreman-rubocop #238

Merged
merged 6 commits into from
Dec 5, 2022
Merged

Conversation

tristanrobert
Copy link
Collaborator

Fixes #233

@tristanrobert tristanrobert added the enhancement New feature or request label Dec 5, 2022
@tristanrobert tristanrobert added this to the Not planned milestone Dec 5, 2022
@tristanrobert tristanrobert self-assigned this Dec 5, 2022
Comment on lines 161 to +162
end
config_typed_keys('lxc')[:cpu].each { |key| ForemanFogProxmox::HashCollection.add_and_format_element(cpu, key.to_sym, args, key) } if type == 'lxc'
if type == 'lxc'
Copy link
Member

Choose a reason for hiding this comment

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

Could also elsif given before there's already a check on type.

Copy link
Collaborator Author

@tristanrobert tristanrobert Dec 5, 2022

Choose a reason for hiding this comment

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

It will be fixed in #239. This file is just rubocop safe autocorrected.

Copy link
Member

Choose a reason for hiding this comment

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

Sounds good. Feel free to merge it without.

app/helpers/proxmox_vm_os_template_helper.rb Outdated Show resolved Hide resolved
Co-authored-by: Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>
@tristanrobert tristanrobert modified the milestones: Not planned, 0.14.1 Dec 5, 2022
@tristanrobert tristanrobert merged commit 200022a into master Dec 5, 2022
@tristanrobert tristanrobert deleted the tristanrobert/issue233 branch December 12, 2022 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

build: 👷 add foreman-rubocop
2 participants