Skip to content

Commit

Permalink
Fix progress bars - local install (#690)
Browse files Browse the repository at this point in the history
Signed-off-by: 6za <53096417+6za@users.noreply.github.com>
  • Loading branch information
6za authored Nov 9, 2022
1 parent c501199 commit 0414cb8
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions cmd/local/local.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ package local
import (
"context"
"fmt"
"log"
"os/exec"
"sync"
"syscall"
"time"

"github.com/go-git/go-git/v5/plumbing"
"github.com/kubefirst/kubefirst/configs"
"github.com/kubefirst/kubefirst/internal/argocd"
Expand All @@ -22,11 +28,6 @@ import (
"github.com/segmentio/analytics-go"
"github.com/spf13/cobra"
"github.com/spf13/viper"
"log"
"os/exec"
"sync"
"syscall"
"time"
)

var (
Expand Down Expand Up @@ -175,10 +176,10 @@ func runLocal(cmd *cobra.Command, args []string) error {
log.Println("Error installing k3d cluster")
return err
}
progressPrinter.IncrementTracker("step-base", 1)
} else {
log.Println("already created k3d cluster")
}
progressPrinter.IncrementTracker("step-base", 1)
progressPrinter.IncrementTracker("step-github", 1)

// add secrets to cluster
Expand Down

0 comments on commit 0414cb8

Please sign in to comment.