mirror of https://github.com/kubernetes/kops.git
Let people know that stopping an instance can sometimes take a while
This commit is contained in:
parent
0e47086ff5
commit
2090479da5
|
|
@ -270,9 +270,9 @@ func (r *RollingUpdateInstanceGroup) DeleteInstance(u *cloudinstances.CloudInsta
|
||||||
nodeName = u.Node.Name
|
nodeName = u.Node.Name
|
||||||
}
|
}
|
||||||
if nodeName != "" {
|
if nodeName != "" {
|
||||||
glog.Infof("Stopping instance %q, node %q, in group %q.", id, nodeName, r.CloudGroup.HumanName)
|
glog.Infof("Stopping instance %q, node %q, in group %q (this may take a while).", id, nodeName, r.CloudGroup.HumanName)
|
||||||
} else {
|
} else {
|
||||||
glog.Infof("Stopping instance %q, in group %q.", id, r.CloudGroup.HumanName)
|
glog.Infof("Stopping instance %q, in group %q (this may take a while).", id, r.CloudGroup.HumanName)
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := r.Cloud.DeleteInstance(u); err != nil {
|
if err := r.Cloud.DeleteInstance(u); err != nil {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue