Skip to content

Commit

Permalink
Fix lint complaint
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Hallgren <thomas@tada.se>
  • Loading branch information
thallgren committed Feb 23, 2025
1 parent 037e368 commit 7587ca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/dnsproxy/resolvefile_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func (r *ResolveFile) Write(fileName string) error {
}

func (r *ResolveFile) WriteTo(buf io.Writer) (int64, error) {
n := ioutil.Println(buf, "# Generated by telepresence\n")
n := ioutil.Println(buf, "# Generated by telepresence\n") //nolint:govet // we want two newlines
if r.Port > 0 {
n += ioutil.Printf(buf, "port %d\n", r.Port)
}
Expand Down

0 comments on commit 7587ca4

Please sign in to comment.