Skip to content

Commit

Permalink
chore: rollback provision
Browse files Browse the repository at this point in the history
  • Loading branch information
CristhianF7 committed Aug 5, 2024
1 parent c399806 commit c3c4468
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions cmd/civo/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ import (
"strings"

utils "github.com/kubefirst/kubefirst-api/pkg/utils"
"github.com/kubefirst/kubefirst/internal/catalog"
"github.com/kubefirst/kubefirst/internal/cluster"
"github.com/kubefirst/kubefirst/internal/gitShim"
"github.com/kubefirst/kubefirst/internal/launch"
"github.com/kubefirst/kubefirst/internal/progress"
"github.com/kubefirst/kubefirst/internal/provision"
"github.com/kubefirst/kubefirst/internal/utilities"
"github.com/spf13/cobra"
"github.com/spf13/viper"
Expand All @@ -30,10 +32,10 @@ func createCivo(cmd *cobra.Command, args []string) error {

progress.DisplayLogHints(15)

// isValid, catalogApps, err := catalog.ValidateCatalogApps(cliFlags.InstallCatalogApps)
// if !isValid {
// return err
// }
isValid, catalogApps, err := catalog.ValidateCatalogApps(cliFlags.InstallCatalogApps)
if !isValid {
return err
}

err = ValidateProvidedFlags(cliFlags.GitProvider)
if err != nil {
Expand Down Expand Up @@ -87,7 +89,7 @@ func createCivo(cmd *cobra.Command, args []string) error {
progress.Error("unable to start kubefirst api")
}

// provision.CreateMgmtCluster(gitAuth, cliFlags, catalogApps)
provision.CreateMgmtCluster(gitAuth, cliFlags, catalogApps)

return nil
}
Expand Down

0 comments on commit c3c4468

Please sign in to comment.