diff --git a/pkg/commands/status_discovery.go b/pkg/commands/status_discovery.go index 0122e8b1ae..4f9261a4d1 100644 --- a/pkg/commands/status_discovery.go +++ b/pkg/commands/status_discovery.go @@ -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) }