mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Merge pull request #21683 from justinsb/fix_20912
Auto commit by PR queue bot
This commit is contained in:
commit
2acae62709
@ -2344,7 +2344,9 @@ func (a *AWSCloud) getInstancesByNodeNames(nodeNames []string) ([]*ec2.Instance,
|
|||||||
for _, instance := range allInstances {
|
for _, instance := range allInstances {
|
||||||
nodeName := aws.StringValue(instance.PrivateDnsName)
|
nodeName := aws.StringValue(instance.PrivateDnsName)
|
||||||
if nodeName == "" {
|
if nodeName == "" {
|
||||||
glog.V(2).Infof("ignoring ec2 instance with no PrivateDnsName: %q", aws.StringValue(instance.InstanceId))
|
if isAlive(instance) {
|
||||||
|
glog.V(2).Infof("ignoring ec2 instance with no PrivateDnsName: %q", aws.StringValue(instance.InstanceId))
|
||||||
|
}
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
i, found := nodeNamesMap[nodeName]
|
i, found := nodeNamesMap[nodeName]
|
||||||
|
Loading…
Reference in New Issue
Block a user