mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-25 21:55:52 -05:00
Removed unnecesary prints
This commit is contained in:
parent
83ead36fce
commit
ada40960bd
@ -675,8 +675,7 @@ func getAPIURLs(tailscales map[string]dockertest.Resource) (map[netaddr.IP]strin
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
fmt.Println(ip)
|
|
||||||
fmt.Println(result)
|
|
||||||
var pft []apitype.FileTarget
|
var pft []apitype.FileTarget
|
||||||
if err := json.Unmarshal([]byte(result), &pft); err != nil {
|
if err := json.Unmarshal([]byte(result), &pft); err != nil {
|
||||||
return nil, fmt.Errorf("invalid JSON: %w", err)
|
return nil, fmt.Errorf("invalid JSON: %w", err)
|
||||||
@ -690,6 +689,5 @@ func getAPIURLs(tailscales map[string]dockertest.Resource) (map[netaddr.IP]strin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fmt.Printf("API URLs: %+v\n", fts)
|
|
||||||
return fts, nil
|
return fts, nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user