mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
/test/e2e/framework:remove TODO in test/e2e/framework/util.go
This commit is contained in:
parent
e92a7cfd2a
commit
ecfe31b890
@ -578,11 +578,7 @@ func LoadClientset() (*clientset.Clientset, error) {
|
|||||||
return clientset.NewForConfig(config)
|
return clientset.NewForConfig(config)
|
||||||
}
|
}
|
||||||
|
|
||||||
// RandomSuffix provides a random string to append to pods,services,rcs.
|
// RandomSuffix provides a random sequence to append to pods,services,rcs.
|
||||||
// TODO: Allow service names to have the same form as names
|
|
||||||
// for pods and replication controllers so we don't
|
|
||||||
// need to use such a function and can instead
|
|
||||||
// use the UUID utility function.
|
|
||||||
func RandomSuffix() string {
|
func RandomSuffix() string {
|
||||||
return strconv.Itoa(rand.Intn(10000))
|
return strconv.Itoa(rand.Intn(10000))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user