Skip to content

Commit

Permalink
foo
Browse files Browse the repository at this point in the history
Signed-off-by: Huabing Zhao <[email protected]>
  • Loading branch information
zhaohuabing committed Jan 10, 2025
1 parent 138ec4b commit 969d0db
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/gatewayapi/clustersettings.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (
"math"
"math/big"
"net/http"
"reflect"
"strings"
"time"

Expand Down Expand Up @@ -77,7 +76,7 @@ func translateTrafficFeatures(policy *egv1a1.ClusterSettings) (*ir.TrafficFeatur
// If nothing was set in any of the above calls, return nil instead of an empty
// container
var empty ir.TrafficFeatures
if reflect.DeepEqual(empty, *ret) {
if empty == *ret {
ret = nil
}

Expand Down

0 comments on commit 969d0db

Please sign in to comment.