diff --git a/worker/export.go b/worker/export.go index 7caf5f4541d..4efc0aedd9a 100644 --- a/worker/export.go +++ b/worker/export.go @@ -318,7 +318,7 @@ func toSchema(attr string, update *pb.SchemaUpdate) (*bpb.KVList, error) { func toType(attr string, update pb.TypeUpdate) (*bpb.KVList, error) { var buf bytes.Buffer - x.Check2(buf.WriteString(fmt.Sprintf("type %s {\n", attr))) + x.Check2(buf.WriteString(fmt.Sprintf("type <%s> {\n", attr))) for _, field := range update.Fields { x.Check2(buf.WriteString(fieldToString(field))) }