Skip to content

Commit

Permalink
ref(pkg/envoy/route): rm unused constants (openservicemesh#1631)
Browse files Browse the repository at this point in the history
* rm unused constants
* update in line comment style
  • Loading branch information
Michelle Noorali authored Aug 27, 2020
1 parent ff303d5 commit 8a9be3f
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions pkg/envoy/route/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,15 @@ const (
//OutboundRouteConfigName is the name of the route config that the envoy will identify
OutboundRouteConfigName = "RDS_Outbound"

// maxRegexProgramSize is the max supported regex complexity
maxRegexProgramSize = 1024

//InboundVirtualHost is the name of the virtual host on the inbound route configuration
// inboundVirtualHost is the name of the virtual host on the inbound route configuration
inboundVirtualHost = "inbound_virtualHost"

//OutboundVirtualHost is the name of the virtual host on the outbound route configuration
// outboundVirtualHost is the name of the virtual host on the outbound route configuration
outboundVirtualHost = "outbound_virtualHost"

// MethodHeaderKey is the key of the header for HTTP methods
MethodHeaderKey = ":method"

// wildcardPathPrefix is the wildcard path prefix for HTTP paths
wildcardPathPrefix = "/"

// httpHostHeader is the name of the HTTP host header
httpHostHeader = "host"
)
Expand Down

0 comments on commit 8a9be3f

Please sign in to comment.