Uncapitalize error
PiperOrigin-RevId: 216281263 Change-Id: Ie0c189e7f5934b77c6302336723bc1181fd2866c
This commit is contained in:
parent
569c2b06c4
commit
b8048f75da
|
@ -142,7 +142,7 @@ func init() {
|
||||||
// New also handles setting up a kernel for restoring a container.
|
// 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) {
|
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 {
|
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.
|
// Create kernel and platform.
|
||||||
p, err := createPlatform(conf, deviceFD)
|
p, err := createPlatform(conf, deviceFD)
|
||||||
|
|
Loading…
Reference in New Issue