Let people know that stopping an instance can sometimes take a while

This commit is contained in:
Eric Herot 2018-06-13 18:21:01 -04:00
parent 0e47086ff5
commit 2090479da5
1 changed files with 2 additions and 2 deletions

View File

@ -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 {