Skip to content

Commit

Permalink
Merge pull request #166 from xrstf/remove-wait
Browse files Browse the repository at this point in the history
remove 2s delay on startup
  • Loading branch information
k8s-ci-robot committed Apr 3, 2024
2 parents c9d47ce + 8652eb7 commit c245301
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/common/args.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import (
"fmt"
"os"
"strings"
"time"

"github.com/blang/semver/v4"
"github.com/spf13/viper"
Expand All @@ -33,7 +32,6 @@ import (
// SetDefaults sets the default values for various configuration options used in the application.
// Finally, it logs the API endpoint, server version, namespace, conformance image, and busybox image.
func SetDefaults(clientSet *kubernetes.Clientset, config *rest.Config) {
time.Sleep(2 * time.Second)
serverVersion, err := clientSet.ServerVersion()
if err != nil {
log.Fatalf("Error fetching server version: %v", err)
Expand Down

0 comments on commit c245301

Please sign in to comment.