mirror of https://github.com/k3s-io/k3s
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.pull/8/head
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