Skip to content

Commit f03b58e

Browse files
authored
Update variable name for fpcert
1 parent 800b349 commit f03b58e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controlplane/nested/controllers/nestedapiserver_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ func (r *NestedAPIServerReconciler) createAPIServerClientCrts(ctx context.Contex
226226
}
227227

228228
fpcert := certificates.GetByPurpose(secret.FrontProxyCA)
229-
if cacert == nil {
229+
if fpcert == nil {
230230
return fmt.Errorf("could not fetch FrontProxyCA")
231231
}
232232

0 commit comments

Comments
 (0)