Don't fail if the raw cgroup factory fails to register.
This will allow us to degrade gracefully in the environments where no cgroups exist, but we'd still like cAdvisor to be running.
This commit is contained in:
parent
62a1788621
commit
c593620f47
@ -127,7 +127,7 @@ func New(memoryStorage *memory.InMemoryStorage, sysfs sysfs.SysFs) (Manager, err
|
||||
// Register the raw driver.
|
||||
err = raw.Register(newManager)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("registration of the raw container factory failed: %v", err)
|
||||
glog.Errorf("Registration of the raw container factory failed: %v", err)
|
||||
}
|
||||
|
||||
return newManager, nil
|
||||
|
Loading…
Reference in New Issue
Block a user