You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by zh...@apache.org on 2021/03/06 06:56:46 UTC
[skywalking-infra-e2e] branch fix/daemoncheck updated: fix docker
daemon check
This is an automated email from the ASF dual-hosted git repository.
zhangke pushed a commit to branch fix/daemoncheck
in repository https://gitbox.apache.org/repos/asf/skywalking-infra-e2e.git
The following commit(s) were added to refs/heads/fix/daemoncheck by this push:
new a69f8ec fix docker daemon check
a69f8ec is described below
commit a69f8ec2dd495baedeac3fab82a565d970ea68fc
Author: HumbertZhang <50...@qq.com>
AuthorDate: Sat Mar 6 14:56:24 2021 +0800
fix docker daemon check
---
commands/setup/setup.go | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/commands/setup/setup.go b/commands/setup/setup.go
index 146644f..3490d37 100644
--- a/commands/setup/setup.go
+++ b/commands/setup/setup.go
@@ -21,6 +21,8 @@ package setup
import (
"fmt"
+ "github.com/apache/skywalking-infra-e2e/internal/util"
+
"github.com/apache/skywalking-infra-e2e/internal/components/setup"
"github.com/apache/skywalking-infra-e2e/internal/config"
"github.com/apache/skywalking-infra-e2e/internal/constant"
@@ -33,6 +35,10 @@ var Setup = &cobra.Command{
Use: "setup",
Short: "",
RunE: func(cmd *cobra.Command, args []string) error {
+ if err := util.CheckDockerDaemon(); err != nil {
+ return err
+ }
+
if err := setupAccordingE2E(); err != nil {
return fmt.Errorf("[Setup] %s", err)
}