diff --git a/internal/dnsdocs/generator.go b/internal/dnsdocs/generator.go index 056ad001..e9e537e8 100644 --- a/internal/dnsdocs/generator.go +++ b/internal/dnsdocs/generator.go @@ -235,7 +235,7 @@ func extractTableData(models *Providers) (int, [][]string) { lines = append(lines, line) line = []string{item} - case i == len(models.Providers)-1: + case i == len(items)-1: line = append(line, item) for j := len(line); j < nbCol; j++ { line = append(line, "")