mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Fix e2e.
This commit is contained in:
parent
4845e524af
commit
33b3c1b8ce
@ -131,10 +131,7 @@ func (rs *REST) ResourceLocation(ctx api.Context, id string) (string, error) {
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
host := minion.Status.HostIP
|
||||
if host == "" {
|
||||
host = minion.Name
|
||||
}
|
||||
host := minion.Name
|
||||
// TODO: Minion webservers should be secure!
|
||||
return "http://" + net.JoinHostPort(host, strconv.Itoa(ports.KubeletPort)), nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user