From ce67af69381ae5bfc095fc0ab15e22b5ee657746 Mon Sep 17 00:00:00 2001 From: Zhenhai Gao Date: Tue, 4 Dec 2018 10:06:13 +0800 Subject: [PATCH] Fix log output format Signed-off-by: Zhenhai Gao --- hack/integration-cli-on-swarm/host/host.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/integration-cli-on-swarm/host/host.go b/hack/integration-cli-on-swarm/host/host.go index fdc2a83e7f..386db79cbe 100644 --- a/hack/integration-cli-on-swarm/host/host.go +++ b/hack/integration-cli-on-swarm/host/host.go @@ -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 }