Merge pull request #87525 from tanjunchen/remove-TODO001

/test/e2e/framework:remove TODO in  test/e2e/framework/util.go
This commit is contained in:
Kubernetes Prow Robot
2020-01-26 07:23:01 -08:00
committed by GitHub

View File

@@ -578,11 +578,7 @@ func LoadClientset() (*clientset.Clientset, error) {
return clientset.NewForConfig(config)
}
// RandomSuffix provides a random string 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.
// RandomSuffix provides a random sequence to append to pods,services,rcs.
func RandomSuffix() string {
return strconv.Itoa(rand.Intn(10000))
}