update dependencies (#6267)
Signed-off-by: hongming <coder.scala@gmail.com>
This commit is contained in:
3
vendor/k8s.io/component-base/cli/run.go
generated
vendored
3
vendor/k8s.io/component-base/cli/run.go
generated
vendored
@@ -18,9 +18,7 @@ package cli
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"math/rand"
|
||||
"os"
|
||||
"time"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
@@ -86,7 +84,6 @@ func RunNoErrOutput(cmd *cobra.Command) error {
|
||||
}
|
||||
|
||||
func run(cmd *cobra.Command) (logsInitialized bool, err error) {
|
||||
rand.Seed(time.Now().UnixNano())
|
||||
defer logs.FlushLogs()
|
||||
|
||||
cmd.SetGlobalNormalizationFunc(cliflag.WordSepNormalizeFunc)
|
||||
|
||||
Reference in New Issue
Block a user