From 0e6ef0d69491aae4cfaf72a6bd7196f3e4dc642c Mon Sep 17 00:00:00 2001 From: 24sama Date: Wed, 20 Jul 2022 13:56:29 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9Aremove=20GreetingModule=20that=20is?= =?UTF-8?q?=20in=20the=20ArtifactPipeline?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 24sama --- pkg/pipelines/artifact_export.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkg/pipelines/artifact_export.go b/pkg/pipelines/artifact_export.go index 09c61c22e..7005ab5f6 100644 --- a/pkg/pipelines/artifact_export.go +++ b/pkg/pipelines/artifact_export.go @@ -18,21 +18,21 @@ package pipelines import ( "fmt" + + "github.com/pkg/errors" + "github.com/kubesphere/kubekey/pkg/artifact" "github.com/kubesphere/kubekey/pkg/binaries" "github.com/kubesphere/kubekey/pkg/bootstrap/confirm" - "github.com/kubesphere/kubekey/pkg/bootstrap/precheck" "github.com/kubesphere/kubekey/pkg/common" "github.com/kubesphere/kubekey/pkg/core/module" "github.com/kubesphere/kubekey/pkg/core/pipeline" "github.com/kubesphere/kubekey/pkg/filesystem" "github.com/kubesphere/kubekey/pkg/images" - "github.com/pkg/errors" ) func NewArtifactExportPipeline(runtime *common.ArtifactRuntime) error { m := []module.Module{ - &precheck.GreetingsModule{}, &confirm.CheckFileExistModule{FileName: runtime.Arg.Output}, &images.CopyImagesToLocalModule{}, &binaries.ArtifactBinariesModule{}, @@ -57,7 +57,6 @@ func NewArtifactExportPipeline(runtime *common.ArtifactRuntime) error { func NewK3sArtifactExportPipeline(runtime *common.ArtifactRuntime) error { m := []module.Module{ - &precheck.GreetingsModule{}, &confirm.CheckFileExistModule{FileName: runtime.Arg.Output}, &images.CopyImagesToLocalModule{}, &binaries.K3sArtifactBinariesModule{},