Commit 6c70a3d7 authored by Steven Allen's avatar Steven Allen

remove protocol correctness test

This is checked when the protocol is *registered*. There's no reason to test it
twice.
parent 2999d4ef
......@@ -43,9 +43,6 @@ func stringToBytes(s string) ([]byte, error) {
sp = []string{"/" + strings.Join(sp, "/")}
}
if p.Transcoder == nil {
return nil, fmt.Errorf("no transcoder for %s protocol", p.Name)
}
a, err := p.Transcoder.StringToBytes(sp[0])
if err != nil {
return nil, fmt.Errorf("failed to parse %s: %s %s", p.Name, sp[0], err)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment