diff options
author | Rahat Mahmood <rahat@google.com> | 2021-09-09 22:54:51 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-09-09 22:57:50 -0700 |
commit | 7da9bb18c28bdd874e928d85363e1f99cea03b2c (patch) | |
tree | eab947a25da664b96ed18d6a826062aaba9cbf1a /runsc/config/config.go | |
parent | 2572af38860ed8a5aa37f0ad705a360628a4ed10 (diff) |
Use accessor for runsc ControlConfig proto.
PiperOrigin-RevId: 395859347
Diffstat (limited to 'runsc/config/config.go')
-rw-r--r-- | runsc/config/config.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/config/config.go b/runsc/config/config.go index 2ce8cc006..a230baa29 100644 --- a/runsc/config/config.go +++ b/runsc/config/config.go @@ -404,7 +404,7 @@ func (c *controlConfig) Get() interface{} { // String implements flag.Value. func (c *controlConfig) String() string { v := "" - for _, control := range c.Controls.AllowedControls { + for _, control := range c.Controls.GetAllowedControls() { if len(v) > 0 { v += "," } |