Project

General

Profile

Revision 692e3a26

Added by Shlomi Zadok almost 7 years ago

Fixes #15528 - 'command' should not be required

View differences:

app/models/docker_container_wizard_states/configuration.rb
4 4
    belongs_to :wizard_state, :class_name => DockerContainerWizardState,
5 5
                              :foreign_key => :docker_container_wizard_state_id
6 6

  
7
    validates :command, :presence => true
8

  
9 7
    attr_accessible :name, :command, :entrypoint, :cpu_set, :cpu_shares, :memory, :wizard_state
10 8
  end
11 9
end

Also available in: Unified diff