mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Uncapitalize error
PiperOrigin-RevId: 216281263 Change-Id: Ie0c189e7f5934b77c6302336723bc1181fd2866c
This commit is contained in:
@@ -142,7 +142,7 @@ func init() {
|
||||
// New also handles setting up a kernel for restoring a container.
|
||||
func New(id string, spec *specs.Spec, conf *Config, controllerFD, deviceFD int, goferFDs []int, stdioFDs []int, console bool) (*Loader, error) {
|
||||
if err := usage.Init(); err != nil {
|
||||
return nil, fmt.Errorf("Error setting up memory usage: %v", err)
|
||||
return nil, fmt.Errorf("error setting up memory usage: %v", err)
|
||||
}
|
||||
// Create kernel and platform.
|
||||
p, err := createPlatform(conf, deviceFD)
|
||||
|
||||
Reference in New Issue
Block a user