ipn/ipnlocal: replace log.Printf with logf (#18045)
Updates #cleanup Signed-off-by: Simon Law <sfllaw@tailscale.com>
This commit is contained in:
@@ -5590,7 +5590,10 @@ func TestFillAllowedSuggestions(t *testing.T) {
|
||||
var pol policytest.Config
|
||||
pol.Set(pkey.AllowedSuggestedExitNodes, tt.allowPolicy)
|
||||
|
||||
got := fillAllowedSuggestions(pol)
|
||||
got, err := fillAllowedSuggestions(pol)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if got == nil {
|
||||
if tt.want == nil {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user