mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Use accessor for runsc ControlConfig proto.
PiperOrigin-RevId: 395859347
This commit is contained in:
committed by
gVisor bot
parent
2572af3886
commit
7da9bb18c2
@@ -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 += ","
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user