Skip to content

Commit 793dd7f

Browse files
committed
Change Fprint to Fprintf
Signed-off-by: Gaurav Singh <[email protected]>
1 parent 353140a commit 793dd7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

staging/src/k8s.io/legacy-cloud-providers/azure/azure_instances_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ func TestNodeAddresses(t *testing.T) {
350350

351351
mux := http.NewServeMux()
352352
mux.Handle("/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
353-
fmt.Fprint(w, metadataTemplate, test.nodeName, test.ipV4, test.ipV4Public, test.ipV6, test.ipV6Public)
353+
fmt.Fprintf(w, metadataTemplate, test.nodeName, test.ipV4, test.ipV4Public, test.ipV6, test.ipV6Public)
354354
}))
355355
go func() {
356356
http.Serve(listener, mux)

0 commit comments

Comments
 (0)