5c80ccacc4
The file permissions can be specified (unfortunately) as a string or an octal integer. During the normalization step, every field is unmarshalled into an interface{}. String types are kept in tact but integers are converted to decimal integers. If the raw config represented the permissions as an octal, it would be converted to decimal _before_ it was saved to RawFilePermissions. Permissions() would then try to convert it again, assuming it was an octal. The new behavior doesn't assume the radix of the number, allowing decimal and octal input. |
||
---|---|---|
.. | ||
validate | ||
config_test.go | ||
config.go | ||
etc_hosts.go | ||
etcd.go | ||
file.go | ||
flannel.go | ||
fleet.go | ||
oem.go | ||
script.go | ||
unit.go | ||
update.go | ||
user.go |