summaryrefslogtreecommitdiffhomepage
path: root/runsc
diff options
context:
space:
mode:
Diffstat (limited to 'runsc')
-rw-r--r--runsc/config/config.go2
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 += ","
}