You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: Clean up unused variables and update TODO comments in translators
- Removed redundant `apisixUpstreams` and `adcUpstreams` variables in ApisixRoute translator logic for clarity.
- Streamlined upstream handling and variable naming in traffic-split logic.
- Updated TODO comments to reflect upcoming `.Checks`, `.TLS`, and `.Discovery*` implementations.
Copy file name to clipboardExpand all lines: internal/utils/k8s.go
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -56,6 +56,7 @@ var hostDefRegex = regexp.MustCompile(hostDef)
56
56
// ref to : https://github.com/apache/apisix/blob/c5fc10d9355a0c177a7532f01c77745ff0639a7f/apisix/schema_def.lua#L40
57
57
// ref to : https://github.com/kubernetes/kubernetes/blob/976a940f4a4e84fe814583848f97b9aafcdb083f/staging/src/k8s.io/apimachinery/pkg/util/validation/validation.go#L205
58
58
// They define regex differently, but k8s's dns is more accurate
0 commit comments