Skip to content

Commit

Permalink
Use fprintf directly
Browse files Browse the repository at this point in the history
Signed-off-by: Dirkjan Bussink <[email protected]>
  • Loading branch information
dbussink committed Feb 6, 2025
1 parent 7221c51 commit 11d6a38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/vt/schemadiff/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ type ViewDependencyUnresolvedError struct {

func (e *ViewDependencyUnresolvedError) Error() string {
var b strings.Builder
b.WriteString(fmt.Sprintf("view %s has unresolved/loop dependencies: ", sqlescape.EscapeID(e.View)))
fmt.Fprintf(&b, "view %s has unresolved/loop dependencies: ", sqlescape.EscapeID(e.View))
for i, entity := range e.MissingReferencedEntities {
if i > 0 {
b.WriteString(", ")
Expand Down

0 comments on commit 11d6a38

Please sign in to comment.