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

Fix Vm#set_description error #922

Merged
merged 1 commit into from
Sep 30, 2024
Merged

Commits on Sep 30, 2024

  1. Fix Vm#set_description error

    ```
    >> vm.set_description("new-description")
    app/models/vm_or_template.rb:380:in `merge': no implicit conversion of String into Hash (TypeError)
    
        options = {:user_event => "Console Request Action [#{verb}], VM [#{name}]"}.merge(options)
                                                                                          ^^^^^^^
    	from app/models/vm_or_template.rb:380:in `run_command_via_parent'
    	from /home/grare/adam/src/manageiq/manageiq-providers-vmware/app/models/manageiq/providers/vmware/infra_manager/vm_or_template_shared/operations.rb:43:in `raw_set_description'
    	from app/models/vm_or_template/operations.rb:95:in `set_description'
    	from (irb):12:in `<main>'
    	from <internal:kernel>:187:in `loop'
    	from railties (7.0.8.4) lib/rails/commands/console/console_command.rb:74:in `start'
    	from railties (7.0.8.4) lib/rails/commands/console/console_command.rb:19:in `start'
    	from railties (7.0.8.4) lib/rails/commands/console/console_command.rb:106:in `perform'
    	from thor (1.3.2) lib/thor/command.rb:28:in `run'
    	from thor (1.3.2) lib/thor/invocation.rb:127:in `invoke_command'
    	from thor (1.3.2) lib/thor.rb:538:in `dispatch'
    	from railties (7.0.8.4) lib/rails/command/base.rb:87:in `perform'
    	from railties (7.0.8.4) lib/rails/command.rb:48:in `invoke'
    	from railties (7.0.8.4) lib/rails/commands.rb:18:in `<main>'
    	from /usr/lib/ruby/3.3.0/bundled_gems.rb:75:in `require'
    	from /usr/lib/ruby/3.3.0/bundled_gems.rb:75:in `block (2 levels) in replace_require'
    	... 2 levels...
    ```
    agrare committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    6cc6801 View commit details
    Browse the repository at this point in the history