mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-02 03:08:15 +00:00
Addresses issue #6596.
Removes ForTesting_ReferencesAllowBlankSelfLinks. Fixes controller's persistentvolumes unit tests.
This commit is contained in:
@@ -38,10 +38,6 @@ var (
|
||||
alwaysReady = func() bool { return true }
|
||||
)
|
||||
|
||||
func init() {
|
||||
api.ForTesting_ReferencesAllowBlankSelfLinks = true
|
||||
}
|
||||
|
||||
func getKey(ds *extensions.DaemonSet, t *testing.T) string {
|
||||
if key, err := controller.KeyFunc(ds); err != nil {
|
||||
t.Errorf("Unexpected error getting key for ds %v: %v", ds.Name, err)
|
||||
|
||||
Reference in New Issue
Block a user