mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
log error for os.NewComputeV2
Since we are returning false, we are kind of losing the error message, so we should at least log it.
This commit is contained in:
parent
5133d19fb0
commit
2080de6adc
@ -43,6 +43,7 @@ func (os *OpenStack) Instances() (cloudprovider.Instances, bool) {
|
||||
|
||||
compute, err := os.NewComputeV2()
|
||||
if err != nil {
|
||||
glog.Errorf("unable to access compute v2 API : %v", err)
|
||||
return nil, false
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user