diff options
author | Robert Tonic <btonic@users.noreply.github.com> | 2019-09-24 18:24:10 -0400 |
---|---|---|
committer | Robert Tonic <btonic@users.noreply.github.com> | 2019-09-24 18:24:10 -0400 |
commit | 7810b30983ec4d3a706df01163c29814cd21d6ca (patch) | |
tree | 1019008f5c8cc637dd764cd2b4f072e1b5d15e4e /runsc/boot | |
parent | e975184bc50944e82a6bf5f4c57bbe970933fdc5 (diff) |
Refactor command line options and remove the allowed terminology for uds
Diffstat (limited to 'runsc/boot')
-rw-r--r-- | runsc/boot/config.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/runsc/boot/config.go b/runsc/boot/config.go index f1adaba01..b76b0e574 100644 --- a/runsc/boot/config.go +++ b/runsc/boot/config.go @@ -138,8 +138,8 @@ type Config struct { // Overlay is whether to wrap the root filesystem in an overlay. Overlay bool - // FSGoferHostUDSAllowed enables the gofer to mount a host UDS. - FSGoferHostUDSAllowed bool + // FSGoferHostUDS enables the gofer to mount a host UDS. + FSGoferHostUDS bool // Network indicates what type of network to use. Network NetworkType @@ -217,6 +217,7 @@ func (c *Config) ToFlags() []string { "--debug-log-format=" + c.DebugLogFormat, "--file-access=" + c.FileAccess.String(), "--overlay=" + strconv.FormatBool(c.Overlay), + "--fsgofer-host-uds=" + strconv.FormatBool(c.FSGoferHostUDS), "--network=" + c.Network.String(), "--log-packets=" + strconv.FormatBool(c.LogPackets), "--platform=" + c.Platform, |