Skip to content

Commit

Permalink
tweak loop
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 committed Jul 25, 2022
1 parent 096443f commit 2c10928
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cmd/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,8 @@ to quickly create a Cobra application.`,
//!--
// Wait argocd cert to work, or force restart
argocdPodClient := clientset.CoreV1().Pods("argocd")
for i := 1; i < 10; i++ {
argoCDHostReady := gitlab.AwaitHostNTimes("argocd", dryRun, 10)
for i := 1; i < 15; i++ {
argoCDHostReady := gitlab.AwaitHostNTimes("argocd", dryRun, 20)
if argoCDHostReady {
informUser("ArgoCD DNS is ready")
break
Expand Down
2 changes: 1 addition & 1 deletion internal/k8s/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func DeletePodByLabel(podsClient coreV1Types.PodInterface, label string) {
if err != nil {
log.Println(err)
} else {
log.Println("Success delete of pods with label(%s).",label)
log.Printf("Success delete of pods with label(%s).",label)
}
}

Expand Down

0 comments on commit 2c10928

Please sign in to comment.