Пример #1
0
func (p *Pod) PrepareServices() error {
	err := servicediscovery.PrepareServices(p.spec, p.id)
	if err != nil {
		glog.Errorf("PrepareServices failed %s", err.Error())
	}
	return err
}
Пример #2
0
func (daemon *Daemon) PrepareServices(userPod *pod.UserPod, podId string) error {
	err := servicediscovery.PrepareServices(userPod, podId)
	if err != nil {
		glog.Errorf("PrepareServices failed %s", err.Error())
	}
	return err
}