Skip to content
This repository has been archived by the owner on Sep 22, 2020. It is now read-only.

Commit

Permalink
fixed the bug in init.go for creating the gitops repo in existing dir (
Browse files Browse the repository at this point in the history
  • Loading branch information
ishitasequeira committed Jun 25, 2020
1 parent 7d75d44 commit fc7df62
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pkg/pipelines/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import (
"github.com/openshift/odo/pkg/pipelines/config"
"github.com/openshift/odo/pkg/pipelines/dryrun"
"github.com/openshift/odo/pkg/pipelines/eventlisteners"
"github.com/openshift/odo/pkg/pipelines/ioutils"
"github.com/openshift/odo/pkg/pipelines/meta"
"github.com/openshift/odo/pkg/pipelines/namespaces"
"github.com/openshift/odo/pkg/pipelines/pipelines"
Expand Down Expand Up @@ -106,11 +105,6 @@ const (

// Init bootstraps a GitOps pipelines and repository structure.
func Init(o *InitParameters, fs afero.Fs) error {

exists, err := ioutils.IsExisting(fs, o.OutputPath)
if exists {
return err
}
gitOpsRepo, err := scm.NewRepository(o.GitOpsRepoURL)
if err != nil {
return err
Expand Down

0 comments on commit fc7df62

Please sign in to comment.