File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -460,21 +460,20 @@ func (r *CloudKittyAPIReconciler) reconcileInit(
460460 // expose the service (create service and return the created endpoint URLs)
461461 //
462462
463- // V2
464463 publicEndpointData := endpoint.Data {
465464 Port : cloudkitty .CloudKittyPublicPort ,
466- Path : "/v2 " ,
465+ Path : "" ,
467466 }
468467 internalEndpointData := endpoint.Data {
469468 Port : cloudkitty .CloudKittyInternalPort ,
470- Path : "/v2 " ,
469+ Path : "" ,
471470 }
472471 cloudkittyEndpoints := map [service.Endpoint ]endpoint.Data {
473472 service .EndpointPublic : publicEndpointData ,
474473 service .EndpointInternal : internalEndpointData ,
475474 }
476475
477- apiEndpointsV3 := make (map [string ]string )
476+ apiEndpoints := make (map [string ]string )
478477
479478 for endpointType , data := range cloudkittyEndpoints {
480479 endpointTypeStr := string (endpointType )
@@ -564,7 +563,7 @@ func (r *CloudKittyAPIReconciler) reconcileInit(
564563 data .Protocol = ptr .To (service .ProtocolHTTPS )
565564 }
566565
567- apiEndpointsV3 [string (endpointType )], err = svc .GetAPIEndpoint (
566+ apiEndpoints [string (endpointType )], err = svc .GetAPIEndpoint (
568567 svcOverride .EndpointURL , data .Protocol , data .Path )
569568 if err != nil {
570569 instance .Status .Conditions .MarkFalse (
You can’t perform that action at this time.
0 commit comments