Skip to content

Fix error reported by go test

jkito requested to merge jkito/obfsvpn:gotest-ci into main

This fixes the following error from go test

client/client.go:45:8: (*0xacab.org/leap/obfsvpn/client.Client).log call has arguments but no formatting directives

and adds a check to c.log to see if the format string is empty if its empty use log.Print and if a format is provided then use log.Printf

/cc @cyberta

Merge request reports