Skip to content

Commit a29fd79

Browse files
AlinsRanCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 1d6fe8c commit a29fd79

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/adc/translator/policies.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ func translateBTPHealthCheck(hc *v1alpha1.HealthCheck) *adctypes.UpstreamHealthC
102102
func translateBTPActiveHealthCheck(config *v1alpha1.ActiveHealthCheck) *adctypes.UpstreamActiveHealthCheck {
103103
t := config.Type
104104
if t == "" {
105-
t = "http"
105+
t = apiv2.HealthCheckHTTP
106106
}
107107
active := &adctypes.UpstreamActiveHealthCheck{
108108
Type: t,

0 commit comments

Comments
 (0)