Skip to content

Commit

Permalink
fix:remove GreetingModule that is in the ArtifactPipeline
Browse files Browse the repository at this point in the history
Signed-off-by: 24sama <[email protected]>
  • Loading branch information
24sama committed Jul 20, 2022
1 parent 3a109ba commit 0e6ef0d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pkg/pipelines/artifact_export.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{},
Expand All @@ -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{},
Expand Down

0 comments on commit 0e6ef0d

Please sign in to comment.