Skip to content

Commit 3b6dddd

Browse files
committed
minor change
1 parent bb5ce2f commit 3b6dddd

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

test/xds/xds_server_filter_state_retention_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ type testFilterCfg struct {
6161
// filterConfigFromProto parses filter config specified as a v3.TypedStruct into
6262
// a testFilterCfg.
6363
func filterConfigFromProto(cfg proto.Message) (httpfilter.FilterConfig, error) {
64-
// if cfg == nil {
65-
// return testFilterCfg{}, nil
66-
// }
6764
ts, ok := cfg.(*v3xdsxdstypepb.TypedStruct)
6865
if !ok {
6966
return nil, fmt.Errorf("unsupported filter config type: %T, want %T", cfg, &v3xdsxdstypepb.TypedStruct{})

0 commit comments

Comments
 (0)