Fix userns mapping for tty
- Linux part of the spec was ignored - Exec used empty spec Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
@@ -193,7 +193,7 @@ func (c *container) readSpec() (*specs.PlatformSpec, error) {
|
||||
return nil, err
|
||||
}
|
||||
defer f.Close()
|
||||
if err := json.NewDecoder(f).Decode(&spec.Spec); err != nil {
|
||||
if err := json.NewDecoder(f).Decode(&spec); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return &spec, nil
|
||||
|
||||
Reference in New Issue
Block a user