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{},