diff options
author | Nicolas Lacasse <nlacasse@google.com> | 2018-08-15 09:33:19 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-08-15 09:34:18 -0700 |
commit | 2033f61aae6ff1b3e613d7bb9e9da273791a5176 (patch) | |
tree | 952fe10a58f7ee41921f63b650477095f590294e /runsc/boot/config.go | |
parent | a620bea045b018b717fbba3193975e6d97c09bf9 (diff) |
runsc: Fix instances of file access "proxy".
This file access type is actually called "proxy-shared", but I forgot to update
all locations.
PiperOrigin-RevId: 208832491
Change-Id: I7848bc4ec2478f86cf2de1dcd1bfb5264c6276de
Diffstat (limited to 'runsc/boot/config.go')
-rw-r--r-- | runsc/boot/config.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runsc/boot/config.go b/runsc/boot/config.go index 6c69a7c38..bc392deb3 100644 --- a/runsc/boot/config.go +++ b/runsc/boot/config.go @@ -76,7 +76,7 @@ const ( // MakeFileAccessType converts type from string. func MakeFileAccessType(s string) (FileAccessType, error) { switch s { - case "proxy": + case "proxy-shared": return FileAccessProxy, nil case "proxy-exclusive": return FileAccessProxyExclusive, nil @@ -90,7 +90,7 @@ func MakeFileAccessType(s string) (FileAccessType, error) { func (f FileAccessType) String() string { switch f { case FileAccessProxy: - return "proxy" + return "proxy-shared" case FileAccessProxyExclusive: return "proxy-exclusive" case FileAccessDirect: |