mfordjody commented on code in PR #839:
URL: https://github.com/apache/dubbo-go-pixiu/pull/839#discussion_r2616482952


##########
controllers/internal/controller/gateway_controller.go:
##########
@@ -684,6 +860,44 @@ func (r *GatewayReconciler) updateGatewayAddresses(ctx 
context.Context, gateway
        return nil
 }
 
+func hashString(input string) string {
+       sum := sha256.Sum256([]byte(input))
+       return hex.EncodeToString(sum[:])
+}
+
+func normalizeHTTPMethods(cfg *converter.PixiuConfig) {
+       for i := range cfg.StaticResources.Listeners {
+               l := cfg.StaticResources.Listeners[i]
+               for fi := range l.FilterChain.Filters {
+                       f := l.FilterChain.Filters[fi]
+                       if f.Name != "dgp.filter.httpconnectionmanager" {
+                               continue
+                       }
+                       switch c := f.Config.(type) {

Review Comment:
   done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to