From 7da9bb18c28bdd874e928d85363e1f99cea03b2c Mon Sep 17 00:00:00 2001 From: Rahat Mahmood Date: Thu, 9 Sep 2021 22:54:51 -0700 Subject: Use accessor for runsc ControlConfig proto. PiperOrigin-RevId: 395859347 --- runsc/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 += "," } -- cgit v1.2.3