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

Image: Avoid using dynamic attribute #415

Merged
merged 1 commit into from Sep 10, 2018
Merged

Image: Avoid using dynamic attribute #415

merged 1 commit into from Sep 10, 2018

Conversation

gildub
Copy link
Collaborator

@gildub gildub commented Aug 21, 2018

Another step closer to support fog-core 2+

#349
fog/fog-core#236

:name => image_name,
:service => @service,
:reloadable_property => 'original'
:name => image_name + '_original',

Choose a reason for hiding this comment

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

Layout/ExtraSpacing: Unnecessary spacing detected.
Layout/SpaceAroundOperators: Operator + should be surrounded by a single space.

if image_id
begin
image_by_id = @service.images.find_by_id(image_id)
rescue

Choose a reason for hiding this comment

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

Style/RescueStandardError: Avoid rescuing without specifying an error class.

@fog fog deleted a comment from theopenlab-ci bot Sep 10, 2018
@fog fog deleted a comment from theopenlab-ci bot Sep 10, 2018
@fog fog deleted a comment from theopenlab-ci bot Sep 10, 2018
@fog fog deleted a comment from theopenlab-ci bot Sep 10, 2018
@gildub gildub changed the title Image Rspec: Avoid using dynamic attribute Image: Avoid using dynamic attribute Sep 10, 2018
@theopenlab-ci
Copy link

theopenlab-ci bot commented Sep 10, 2018

Build succeeded.

@aufi
Copy link
Member

aufi commented Sep 10, 2018

Looks good to me, merging 👍

@aufi aufi merged commit aeded1d into fog:master Sep 10, 2018
@gildub gildub deleted the core-2 branch September 11, 2018 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants