Project

General

Profile

Revision 7ff105d1

Added by David Davis about 7 years ago

Fixes #12681 - Support rubocop 0.35.1 by fixing broken rules

View differences:

app/controllers/containers/steps_controller.rb
41 41

  
42 42
    def set_form
43 43
      instance_variable_set(
44
          "@docker_container_wizard_states_#{step}",
45
          @state.send(:"#{step}") || @state.send(:"build_#{step}"))
44
        "@docker_container_wizard_states_#{step}",
45
        @state.send(:"#{step}") || @state.send(:"build_#{step}"))
46 46
    end
47 47

  
48 48
    def create_container(start = true)
......
58 58
      else
59 59
        @docker_container_wizard_states_environment = @state.environment
60 60
        process_error(
61
            :error_msg => service.errors.full_messages.join(','),
62
            :object => @state.environment,
63
            :render => 'environment')
61
          :error_msg => service.errors.full_messages.join(','),
62
          :object => @state.environment,
63
          :render => 'environment')
64 64
      end
65 65
    end
66 66
  end

Also available in: Unified diff