File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -103,16 +103,16 @@ func TestGetTLSConfig(t *testing.T) {
103103 listerErr := fmt .Errorf ("transient lister error" )
104104
105105 tests := []struct {
106- name string
107- trustedCABundle * corev1.ConfigMap // openshift-config-managed/trusted-ca-bundle
108- userCABundle * corev1.ConfigMap // openshift-config/user-ca-bundle
109- managedListerErr error // non-NotFound error from the managed lister
110- configListerErr error // non-NotFound error from the config lister
111- hypershift bool
112- wantNilConfig bool
113- wantCA1Present bool
114- wantCA2Present bool
115- wantErr bool
106+ name string
107+ trustedCABundle * corev1.ConfigMap // openshift-config-managed/trusted-ca-bundle
108+ userCABundle * corev1.ConfigMap // openshift-config/user-ca-bundle
109+ managedListerErr error // non-NotFound error from the managed lister
110+ configListerErr error // non-NotFound error from the config lister
111+ hypershift bool
112+ wantNilConfig bool
113+ wantCA1Present bool
114+ wantCA2Present bool
115+ wantErr bool
116116 }{
117117 {
118118 name : "non-hypershift: no bundles → nil config" ,
@@ -175,10 +175,10 @@ func TestGetTLSConfig(t *testing.T) {
175175 wantErr : true ,
176176 },
177177 {
178- name : "hypershift: user-ca-bundle lister non-NotFound error is propagated" ,
179- hypershift : true ,
180- configListerErr : listerErr ,
181- wantErr : true ,
178+ name : "hypershift: user-ca-bundle lister non-NotFound error is propagated" ,
179+ hypershift : true ,
180+ configListerErr : listerErr ,
181+ wantErr : true ,
182182 },
183183 }
184184
You can’t perform that action at this time.
0 commit comments