Fix docker image field being required for inheritance, closes #413
This commit is contained in:
parent
c9c0e845b1
commit
5545075302
2 changed files with 2 additions and 1 deletions
|
@ -48,7 +48,7 @@ class OptionRepository
|
|||
'name' => 'required|string|max:255',
|
||||
'description' => 'required|string',
|
||||
'tag' => 'required|string|max:255|unique:service_options,tag',
|
||||
'docker_image' => 'required|string|max:255',
|
||||
'docker_image' => 'sometimes|string|max:255',
|
||||
'startup' => 'sometimes|nullable|string',
|
||||
'config_from' => 'sometimes|required|numeric|exists:service_options,id',
|
||||
'config_startup' => 'required_without:config_from|json',
|
||||
|
|
Reference in a new issue