mirror of https://github.com/kubernetes/kops.git
Alicloud: fix status discovery
This commit is contained in:
parent
2e646e2eec
commit
2eeca3a9a6
|
|
@ -42,6 +42,10 @@ func (s *CloudDiscoveryStatusStore) GetApiIngressStatus(cluster *kops.Cluster) (
|
|||
return nil, err
|
||||
}
|
||||
|
||||
if aliCloud, ok := cloud.(aliup.ALICloud); ok {
|
||||
return aliCloud.GetApiIngressStatus(cluster)
|
||||
}
|
||||
|
||||
if gceCloud, ok := cloud.(gce.GCECloud); ok {
|
||||
return gceCloud.GetApiIngressStatus(cluster)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue