Skip to content

Commit 5545075

Browse files
committed
Fix docker image field being required for inheritance, closes pterodactyl#413
1 parent c9c0e84 commit 5545075

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ This project follows [Semantic Versioning](http://semver.org) guidelines.
99
* It is now possible to modify a server's disk limits after the server is created.
1010
* `[beta.2.1]` — Fixes a bug causing login issues and password reset failures when reCAPTCHA is enabled.
1111
* Fixes remote timing attack vulnerability due to hmac comparsion in API middleware.
12+
* `[beta.2.1]` — Fixes bug requiring docker image field to be filled out when adding a service option.
1213

1314
### Added
1415
* Added new scripts for service options that allows installation of software in a privileged Docker container on the node prior to marking a server as installed.

app/Repositories/OptionRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function create(array $data)
4848
'name' => 'required|string|max:255',
4949
'description' => 'required|string',
5050
'tag' => 'required|string|max:255|unique:service_options,tag',
51-
'docker_image' => 'required|string|max:255',
51+
'docker_image' => 'sometimes|string|max:255',
5252
'startup' => 'sometimes|nullable|string',
5353
'config_from' => 'sometimes|required|numeric|exists:service_options,id',
5454
'config_startup' => 'required_without:config_from|json',

0 commit comments

Comments
 (0)