1 parent bb5ce2f commit 3b6ddddCopy full SHA for 3b6dddd
1 file changed
test/xds/xds_server_filter_state_retention_test.go
@@ -61,9 +61,6 @@ type testFilterCfg struct {
61
// filterConfigFromProto parses filter config specified as a v3.TypedStruct into
62
// a testFilterCfg.
63
func filterConfigFromProto(cfg proto.Message) (httpfilter.FilterConfig, error) {
64
- // if cfg == nil {
65
- // return testFilterCfg{}, nil
66
- // }
67
ts, ok := cfg.(*v3xdsxdstypepb.TypedStruct)
68
if !ok {
69
return nil, fmt.Errorf("unsupported filter config type: %T, want %T", cfg, &v3xdsxdstypepb.TypedStruct{})
0 commit comments