mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
restrict secret view to node level in controller
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
This commit is contained in:
parent
1d4608032d
commit
8392123f30
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ func (e *executor) Controller(t *api.Task) (exec.Controller, error) {
|
|||
return newNetworkAttacherController(e.backend, t, e.secrets)
|
||||
}
|
||||
|
||||
ctlr, err := newController(e.backend, t, e.secrets)
|
||||
ctlr, err := newController(e.backend, t, secrets.Restrict(e.secrets, t))
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue