Skip to content

Commit

Permalink
Fix bad logging line
Browse files Browse the repository at this point in the history
  • Loading branch information
hasty committed Sep 3, 2024
1 parent fb48094 commit 2dda01b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion disco/tables.go
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ func (b *Ball) renameTableHeaderCells(doc *spec.Doc, section *spec.Section, tabl
if hasOverride {
existingIndex, overrideAlreadyExists := table.columnMap[overrideColumn]
if overrideAlreadyExists && existingIndex != i {
slog.Warn("Can not renamed column %s to %s; column with same name already exists at column %i", tc.String(), overrideColumn.String(), existingIndex)
slog.Warn("Can not renamed column; column with same name already exists", slog.String("from", tc.String()), slog.String("to", overrideColumn.String()), slog.Int("existingColumnIndex", existingIndex))
continue
}
tc = overrideColumn
Expand Down

0 comments on commit 2dda01b

Please sign in to comment.