Signed-off-by: Zhenhai Gao <gaozh1988@live.com>
This commit is contained in:
Zhenhai Gao 2018-12-04 10:06:13 +08:00
Родитель 65d9a5dde5
Коммит ce67af6938
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -100,7 +100,7 @@ func xmain() (int, error) {
}
logrus.Infof("Deploying stack %s from %s", defaultStackName, compose)
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(" - Volume: %s", defaultVolumeName)
logrus.Infof(" - Compose file: %s", compose)
@ -170,7 +170,7 @@ func waitForMasterUp(cli *client.Client, stackName string) (string, error) {
return "", err
}
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
}