зеркало из https://github.com/microsoft/docker.git
Fix log output format
Signed-off-by: Zhenhai Gao <gaozh1988@live.com>
This commit is contained in:
Родитель
65d9a5dde5
Коммит
ce67af6938
|
@ -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
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче