Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ndhanushkodi committed May 27, 2022
1 parent 5bfc317 commit b2ed55d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions control-plane/connect-inject/endpoints_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,7 @@ func serviceInstancesForK8SServiceNameAndNamespace(k8sServiceName, k8sServiceNam
}

// processPreparedQueryUpstream processes an upstream in the format:
// prepared_query:[query name]:[port]
// prepared_query:[query name]:[port].
func processPreparedQueryUpstream(pod corev1.Pod, rawUpstream string) api.Upstream {
var preparedQuery string
var port int32
Expand All @@ -856,7 +856,7 @@ func processPreparedQueryUpstream(pod corev1.Pod, rawUpstream string) api.Upstre
}

// processNonAnnotatedUpstream processes an upstream in the format:
// [service-name].[service-namespace].[service-partition]:[port]:[optional datacenter]
// [service-name].[service-namespace].[service-partition]:[port]:[optional datacenter].
func (r *EndpointsController) processNonAnnotatedUpstream(pod corev1.Pod, rawUpstream string) (api.Upstream, error) {
var datacenter, serviceName, namespace, partition, peer string
var port int32
Expand Down Expand Up @@ -924,7 +924,7 @@ func (r *EndpointsController) processNonAnnotatedUpstream(pod corev1.Pod, rawUps
// processAnnotatedUpstream processes an upstream in the format:
// [service-name].svc.[service-namespace].ns.[service-peer].peer:[port]
// [service-name].svc.[service-namespace].ns.[service-partition].ap:[port]
// [service-name].svc.[service-namespace].ns.[service-datacenter].dc:[port]
// [service-name].svc.[service-namespace].ns.[service-datacenter].dc:[port].
func (r *EndpointsController) processAnnotatedUpstream(pod corev1.Pod, rawUpstream string) (api.Upstream, error) {
var datacenter, serviceName, namespace, partition, peer string
var port int32
Expand Down

0 comments on commit b2ed55d

Please sign in to comment.