This repository has been archived by the owner on Jan 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 301
Support truthy values in boolean unit options #1108
Labels
Comments
wuqixuan
pushed a commit
to wuqixuan/fleet
that referenced
this issue
Jun 26, 2015
Support truthy values in boolean unit options(yes, on, 1, t) Fixes coreos#1108
dongsupark
pushed a commit
to dongsupark/fleet
that referenced
this issue
Apr 27, 2016
Support truthy values in boolean unit options(yes, on, 1, t). Originally written by wuqixuan <wuqixuan@huawei.com> Supersedes coreos#1271 Fixes: coreos#1108
dongsupark
pushed a commit
to dongsupark/fleet
that referenced
this issue
Apr 29, 2016
Support truthy values in boolean unit options(yes, on, 1, t). Originally written by wuqixuan <wuqixuan@huawei.com> Supersedes coreos#1271 Fixes: coreos#1108
dongsupark
pushed a commit
to dongsupark/fleet
that referenced
this issue
Apr 29, 2016
Support truthy values in boolean unit options(true, yes, on, 1, t). Originally written by wuqixuan <wuqixuan@huawei.com> Supersedes coreos#1271 Fixes: coreos#1108
dongsupark
pushed a commit
to dongsupark/fleet
that referenced
this issue
May 18, 2016
Support truthy values in boolean unit options(true, yes, on, 1, t). Originally written by wuqixuan <wuqixuan@huawei.com> Supersedes coreos#1271 Fixes: coreos#1108
Closed via #1574. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The
Global
option is lower-cased then checked directly againsttrue
[0], while systemd units accept "truthy" values (yes, on, 1, t) [1]. fleet should follow suit and accept the same truthy values when parsing boolean options.[0]
fleet/job/job.go
Line 116 in d76e5ad
[1] http://www.freedesktop.org/software/systemd/man/systemd.unit.html#Description
The text was updated successfully, but these errors were encountered: