Skip to content

Commit

Permalink
revert redundant duplicate checks
Browse files Browse the repository at this point in the history
  • Loading branch information
clement2026 committed Mar 20, 2024
1 parent a3b44e2 commit b09ebd0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 84 deletions.
2 changes: 1 addition & 1 deletion xds/internal/xdsclient/bootstrap/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ func newConfigFromContents(data []byte) (*Config, error) {
}
node.UserAgentName = gRPCUserAgentName
node.UserAgentVersionType = &v3corepb.Node_UserAgentVersion{UserAgentVersion: grpc.Version}
node.ClientFeatures = AppendIfNotPresent(node.ClientFeatures, clientFeatureNoOverprovisioning, clientFeatureResourceWrapper)
node.ClientFeatures = append(node.ClientFeatures, clientFeatureNoOverprovisioning, clientFeatureResourceWrapper)
config.NodeProto = node

logger.Debugf("Bootstrap config for creating xds-client: %v", pretty.ToJSON(config))
Expand Down
36 changes: 0 additions & 36 deletions xds/internal/xdsclient/bootstrap/utils.go

This file was deleted.

47 changes: 0 additions & 47 deletions xds/internal/xdsclient/bootstrap/utils_test.go

This file was deleted.

0 comments on commit b09ebd0

Please sign in to comment.