mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
commit
5a9cb68eb3
1 changed files with 2 additions and 2 deletions
|
@ -100,7 +100,7 @@ func xmain() (int, error) {
|
||||||
}
|
}
|
||||||
logrus.Infof("Deploying stack %s from %s", defaultStackName, compose)
|
logrus.Infof("Deploying stack %s from %s", defaultStackName, compose)
|
||||||
defer func() {
|
defer func() {
|
||||||
logrus.Infof("NOTE: You may want to inspect or clean up following resources:")
|
logrus.Info("NOTE: You may want to inspect or clean up following resources:")
|
||||||
logrus.Infof(" - Stack: %s", defaultStackName)
|
logrus.Infof(" - Stack: %s", defaultStackName)
|
||||||
logrus.Infof(" - Volume: %s", defaultVolumeName)
|
logrus.Infof(" - Volume: %s", defaultVolumeName)
|
||||||
logrus.Infof(" - Compose file: %s", compose)
|
logrus.Infof(" - Compose file: %s", compose)
|
||||||
|
@ -170,7 +170,7 @@ func waitForMasterUp(cli *client.Client, stackName string) (string, error) {
|
||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
if len(masters) == 0 {
|
if len(masters) == 0 {
|
||||||
return "", fmt.Errorf("master not running in stack %s?", stackName)
|
return "", fmt.Errorf("master not running in stack %s", stackName)
|
||||||
}
|
}
|
||||||
return masters[0].ID, nil
|
return masters[0].ID, nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue