mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-30 02:43:05 +00:00
Removed unnecesary prints
This commit is contained in:
parent
83ead36fce
commit
ada40960bd
1 changed files with 1 additions and 3 deletions
|
@ -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 a new issue