Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: yangyang <[email protected]>
  • Loading branch information
yangyy93 committed Oct 20, 2023
1 parent 72a9c13 commit f6e7392
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/dag/policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -826,8 +826,7 @@ func mergeOutlierDetectionPolicy(globalOutlierDetection, serviceOutlierDetection
}

func outlierDetectionPolicy(globalOutlierDetection, serviceOutlierDetection *contour_api_v1.OutlierDetection) (*OutlierDetectionPolicy, error) {
var outlierDetection *contour_api_v1.OutlierDetection
outlierDetection = mergeOutlierDetectionPolicy(globalOutlierDetection, serviceOutlierDetection)
outlierDetection := mergeOutlierDetectionPolicy(globalOutlierDetection, serviceOutlierDetection)

if outlierDetection == nil {
return nil, nil
Expand Down

0 comments on commit f6e7392

Please sign in to comment.