mirror of
https://github.com/google/cadvisor.git
synced 2021-05-12 18:32:21 +03:00
do not initialize libipmctl package when getting an error from nvm_init()
Signed-off-by: Paweł Szulik <pawel.szulik@intel.com>
This commit is contained in:
@@ -40,6 +40,7 @@ func init() {
|
||||
// Unfortunately klog does not seem to work here. I believe it's better to
|
||||
// output information using fmt rather then let it disappear silently.
|
||||
fmt.Printf("libipmctl initialization failed with status %d", cErr)
|
||||
return
|
||||
}
|
||||
isNVMLibInitialized = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user