-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(service)!:
user
may have an optional group
Before this fix values for `services[].user` that included a GID or group name were rejected. The Compose Specification is unfortunately vague for `user` (see compose-spec/compose-spec#39). However, both `docker run --user` and `podman run --user` accept the `{user}[:{group}]` syntax. Renamed `compose_spec::service::UserOrGroup` to `IdOrName`. Renamed `compose_spec::service::user_or_group` module to `user`. Added `compose_spec::service::User`. Changed the type of the `user` field in `compose_spec::Service` to `Option<User>`. Fixes: #23
- Loading branch information
1 parent
0159297
commit a526a3a
Showing
5 changed files
with
164 additions
and
42 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters