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:
@@ -39,10 +39,6 @@ type describeClient struct {
|
||||
client.Interface
|
||||
}
|
||||
|
||||
func init() {
|
||||
api.ForTesting_ReferencesAllowBlankSelfLinks = true
|
||||
}
|
||||
|
||||
func TestDescribePod(t *testing.T) {
|
||||
fake := testclient.NewSimpleFake(&api.Pod{
|
||||
ObjectMeta: api.ObjectMeta{
|
||||
|
||||
Reference in New Issue
Block a user