Skip to content

fix: make dokku_storage_ensure chown genuinely optional#395

Merged
josegonzalez merged 1 commit into
mainfrom
344-bug-dokku-storage-ensure-rejects-an-omitted-chown-despite-docs-marking-it-optional
Jul 18, 2026
Merged

fix: make dokku_storage_ensure chown genuinely optional#395
josegonzalez merged 1 commit into
mainfrom
344-bug-dokku-storage-ensure-rejects-an-omitted-chown-despite-docs-marking-it-optional

Conversation

@josegonzalez

Copy link
Copy Markdown
Member

dokku_storage_ensure documented chown as optional, but validation rejected an omitted value with invalid chown value specified, making the field effectively required. An omitted chown now passes validation and drops --chown from the dispatched command so dokku applies its default ownership, while a non-empty value that is not a known preset is still rejected with a clearer message.

Closes #344

`dokku_storage_ensure` documented `chown` as optional, but validation rejected an omitted value with `invalid chown value specified`, making the field effectively required. An omitted `chown` now passes validation and drops `--chown` from the dispatched command so dokku applies its default ownership, while a non-empty value that is not a known preset is still rejected with a clearer message.
@josegonzalez
josegonzalez merged commit b0ad7e1 into main Jul 18, 2026
14 checks passed
@josegonzalez
josegonzalez deleted the 344-bug-dokku-storage-ensure-rejects-an-omitted-chown-despite-docs-marking-it-optional branch July 18, 2026 04:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: dokku_storage_ensure rejects an omitted chown despite docs marking it optional

1 participant