@@ -165,8 +165,8 @@ func createControllerCommand() *cobra.Command {
165165 validator : validateResourceName ,
166166 }
167167
168- endpointPickerDisableTLS bool
169- endpointPickerTLSSkipVerifyFlag = true
168+ endpointPickerDisableTLS bool
169+ endpointPickerTLSSkipVerify = true
170170 )
171171
172172 usageReportParams := usageReportParams {
@@ -294,7 +294,7 @@ func createControllerCommand() *cobra.Command {
294294 EndpointTLSSkipVerify : nginxOneConsoleTLSSkipVerify ,
295295 },
296296 EndpointPickerDisableTLS : endpointPickerDisableTLS ,
297- EndpointPickerTLSSkipVerify : endpointPickerTLSSkipVerifyFlag ,
297+ EndpointPickerTLSSkipVerify : endpointPickerTLSSkipVerify ,
298298 }
299299
300300 if err := controller .StartManager (conf ); err != nil {
@@ -448,7 +448,7 @@ func createControllerCommand() *cobra.Command {
448448 "traffic to AI workloads." ,
449449 )
450450
451- addEPPConnectionFlags (cmd , & endpointPickerDisableTLS , & endpointPickerTLSSkipVerifyFlag )
451+ addEPPConnectionFlags (cmd , & endpointPickerDisableTLS , & endpointPickerTLSSkipVerify )
452452
453453 cmd .Flags ().Var (
454454 & nginxDockerSecrets ,
@@ -768,21 +768,21 @@ func createSleepCommand() *cobra.Command {
768768
769769func createEndpointPickerCommand () * cobra.Command {
770770 var endpointPickerDisableTLS bool
771- endpointPickerTLSSkipVerifyFlag := true
771+ endpointPickerTLSSkipVerify := true
772772 cmd := & cobra.Command {
773773 Use : "endpoint-picker" ,
774774 Short : "Shim server for communication between NGINX and the Gateway API Inference Extension Endpoint Picker" ,
775775 RunE : func (_ * cobra.Command , _ []string ) error {
776776 logger := ctlrZap .New ().WithName ("endpoint-picker-shim" )
777777 handler := createEndpointPickerHandler (
778- realExtProcClientFactory (endpointPickerDisableTLS , endpointPickerTLSSkipVerifyFlag ),
778+ realExtProcClientFactory (endpointPickerDisableTLS , endpointPickerTLSSkipVerify ),
779779 logger ,
780780 )
781781 return endpointPickerServer (handler )
782782 },
783783 }
784784
785- addEPPConnectionFlags (cmd , & endpointPickerDisableTLS , & endpointPickerTLSSkipVerifyFlag )
785+ addEPPConnectionFlags (cmd , & endpointPickerDisableTLS , & endpointPickerTLSSkipVerify )
786786
787787 return cmd
788788}
0 commit comments