Browse Source

minor

pull/1148/head
Chris Lu 5 years ago
parent
commit
228231f3d7
  1. 2
      weed/pb/proto_read_write_test.go

2
weed/pb/proto_read_write_test.go

@ -35,7 +35,7 @@ func TestJsonpMarshalUnmarshal(t *testing.T) {
tv1 := &volume_server_pb.TieredVolume{} tv1 := &volume_server_pb.TieredVolume{}
if err := jsonpb.UnmarshalString(rawJson, tv1); err != nil { if err := jsonpb.UnmarshalString(rawJson, tv1); err != nil {
fmt.Printf("unmarshal eror: %v\n", err)
fmt.Printf("unmarshal error: %v\n", err)
} }
fmt.Printf("unmarshalled: %+v\n", tv1) fmt.Printf("unmarshalled: %+v\n", tv1)

Loading…
Cancel
Save