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

Consider all parameters in server storage service #526

Merged
merged 1 commit into from
Nov 26, 2021

Conversation

Enet4
Copy link
Collaborator

@Enet4 Enet4 commented Oct 14, 2021

Adding new storage destinations via the web API was slightly faulty. Due to a possible regression in the change of server settings format, it was ignoring the description and public properties. This PR brings these properties back and adds more input validation.

  • Bring back public and description as parameters for adding a storage destination
  • Validate port as a TCP port
  • Validate type to be either add or remove

- Bring back `public` and `description`
  as parameters for adding a storage destination
- Validate port as a TCP port
- Validate `type` to be either add or remove
@bastiao bastiao merged commit 0764ba8 into dev Nov 26, 2021
@Enet4 Enet4 deleted the bug/server-storage-servlet-params branch November 26, 2021 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants