Skip to content

Commit ed45f02

Browse files
committed
nit: Fix typo
1 parent 772a775 commit ed45f02

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

config/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ func (c *Config) ModifySchema(s *schema.Schema) error {
466466
return t.Name
467467
})
468468
for _, g := range v.Groups {
469-
gt, _, err := cs.SepareteTablesThatAreIncludedOrNot(&schema.FilterOption{
469+
gt, _, err := cs.SeparateTablesThatAreIncludedOrNot(&schema.FilterOption{
470470
Include: g.Tables,
471471
IncludeLabels: g.Labels,
472472
})

output/dot/dot.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ func (d *Dot) OutputViewpoint(wr io.Writer, v *schema.Viewpoint) error {
9393
groups := []map[string]interface{}{}
9494
nogroup := v.Schema.Tables
9595
for i, g := range v.Groups {
96-
tables, _, err := v.Schema.SepareteTablesThatAreIncludedOrNot(&schema.FilterOption{
96+
tables, _, err := v.Schema.SeparateTablesThatAreIncludedOrNot(&schema.FilterOption{
9797
Include: g.Tables,
9898
IncludeLabels: g.Labels,
9999
})

output/md/md.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ func (m *Md) makeViewpointTemplateData(v *schema.Viewpoint) (map[string]interfac
760760
groups := []map[string]interface{}{}
761761
nogroup := v.Schema.Tables
762762
for _, g := range v.Groups {
763-
tables, _, err := v.Schema.SepareteTablesThatAreIncludedOrNot(&schema.FilterOption{
763+
tables, _, err := v.Schema.SeparateTablesThatAreIncludedOrNot(&schema.FilterOption{
764764
Include: g.Tables,
765765
IncludeLabels: g.Labels,
766766
})

schema/filter.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func (s *Schema) Filter(opt *FilterOption) (err error) {
2020
defer func() {
2121
err = errors.WithStack(err)
2222
}()
23-
_, excludes, err := s.SepareteTablesThatAreIncludedOrNot(opt)
23+
_, excludes, err := s.SeparateTablesThatAreIncludedOrNot(opt)
2424
if err != nil {
2525
return err
2626
}
@@ -34,7 +34,7 @@ func (s *Schema) Filter(opt *FilterOption) (err error) {
3434
return nil
3535
}
3636

37-
func (s *Schema) SepareteTablesThatAreIncludedOrNot(opt *FilterOption) (_ []*Table, _ []*Table, err error) {
37+
func (s *Schema) SeparateTablesThatAreIncludedOrNot(opt *FilterOption) (_ []*Table, _ []*Table, err error) {
3838
defer func() {
3939
err = errors.WithStack(err)
4040
}()

0 commit comments

Comments
 (0)