Skip to content

Commit

Permalink
Fix typo in Safe Navigation Operator
Browse files Browse the repository at this point in the history
Typo in safe nav operator - "&" -after the "." instead of before
caused an error.

Not really needed on the first class so made it match with the swift refresh_parser.
  • Loading branch information
jerryk55 committed Mar 20, 2018
1 parent 976ea5e commit d2bf3c8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def initialize(ems, options = nil)
@data = {}
@data_index = {}

@cinder_service = ems.&parent_manager&.cinder_service
@cinder_service = ems.parent_manager&.cinder_service
end

def ems_inv_to_hashes
Expand Down

0 comments on commit d2bf3c8

Please sign in to comment.